try{ "undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(a,b,c){function d(c){var d=b.console;f[c]||(f[c]=!0,a.migrateWarnings.push(c),d&&d.warn&&!a.migrateMute&&(d.warn("JQMIGRATE: "+c),a.migrateTrace&&d.trace&&d.trace()))}function e(b,c,e,f){if(Object.defineProperty)try{return void Object.defineProperty(b,c,{configurable:!0,enumerable:!0,get:function(){return d(f),e},set:function(a){d(f),e=a}})}catch(g){}a._definePropertyBroken=!0,b[c]=e}a.migrateVersion="1.4.1";var f={};a.migrateWarnings=[],b.console&&b.console.log&&b.console.log("JQMIGRATE: Migrate is installed"+(a.migrateMute?"":" with logging active")+", version "+a.migrateVersion),a.migrateTrace===c&&(a.migrateTrace=!0),a.migrateReset=function(){f={},a.migrateWarnings.length=0},"BackCompat"===document.compatMode&&d("jQuery is not compatible with Quirks Mode");var g=a("",{size:1}).attr("size")&&a.attrFn,h=a.attr,i=a.attrHooks.value&&a.attrHooks.value.get||function(){return null},j=a.attrHooks.value&&a.attrHooks.value.set||function(){return c},k=/^(?:input|button)$/i,l=/^[238]$/,m=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,n=/^(?:checked|selected)$/i;e(a,"attrFn",g||{},"jQuery.attrFn is deprecated"),a.attr=function(b,e,f,i){var j=e.toLowerCase(),o=b&&b.nodeType;return i&&(h.length<4&&d("jQuery.fn.attr(props, pass) is deprecated"),b&&!l.test(o)&&(g?e in g:a.isFunction(a.fn[e])))?a(b)[e](f):("type"===e&&f!==c&&k.test(b.nodeName)&&b.parentNode&&d("Can't change the 'type' of an input or button in IE 6/7/8"),!a.attrHooks[j]&&m.test(j)&&(a.attrHooks[j]={get:function(b,d){var e,f=a.prop(b,d);return f===!0||"boolean"!=typeof f&&(e=b.getAttributeNode(d))&&e.nodeValue!==!1?d.toLowerCase():c},set:function(b,c,d){var e;return c===!1?a.removeAttr(b,d):(e=a.propFix[d]||d,e in b&&(b[e]=!0),b.setAttribute(d,d.toLowerCase())),d}},n.test(j)&&d("jQuery.fn.attr('"+j+"') might use property instead of attribute")),h.call(a,b,e,f))},a.attrHooks.value={get:function(a,b){var c=(a.nodeName||"").toLowerCase();return"button"===c?i.apply(this,arguments):("input"!==c&&"option"!==c&&d("jQuery.fn.attr('value') no longer gets properties"),b in a?a.value:null)},set:function(a,b){var c=(a.nodeName||"").toLowerCase();return"button"===c?j.apply(this,arguments):("input"!==c&&"option"!==c&&d("jQuery.fn.attr('value', val) no longer sets properties"),void(a.value=b))}};var o,p,q=a.fn.init,r=a.find,s=a.parseJSON,t=/^\s*)([^>]*)$/;a.fn.init=function(b,e,f){var g,h;return b&&"string"==typeof b&&!a.isPlainObject(e)&&(g=w.exec(a.trim(b)))&&g[0]&&(t.test(b)||d("$(html) HTML strings must start with '<' character"),g[3]&&d("$(html) HTML text after last tag is ignored"),"#"===g[0].charAt(0)&&(d("HTML string cannot start with a '#' character"),a.error("JQMIGRATE: Invalid selector string (XSS)")),e&&e.context&&e.context.nodeType&&(e=e.context),a.parseHTML)?q.call(this,a.parseHTML(g[2],e&&e.ownerDocument||e||document,!0),e,f):(h=q.apply(this,arguments),b&&b.selector!==c?(h.selector=b.selector,h.context=b.context):(h.selector="string"==typeof b?b:"",b&&(h.context=b.nodeType?b:e||document)),h)},a.fn.init.prototype=a.fn,a.find=function(a){var b=Array.prototype.slice.call(arguments);if("string"==typeof a&&u.test(a))try{document.querySelector(a)}catch(c){a=a.replace(v,function(a,b,c,d){return"["+b+c+'"'+d+'"]'});try{document.querySelector(a),d("Attribute selector with '#' must be quoted: "+b[0]),b[0]=a}catch(e){d("Attribute selector with '#' was not fixed: "+b[0])}}return r.apply(this,b)};var x;for(x in r)Object.prototype.hasOwnProperty.call(r,x)&&(a.find[x]=r[x]);a.parseJSON=function(a){return a?s.apply(this,arguments):(d("jQuery.parseJSON requires a valid JSON string"),null)},a.uaMatch=function(a){a=a.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},a.browser||(o=a.uaMatch(navigator.userAgent),p={},o.browser&&(p[o.browser]=!0,p.version=o.version),p.chrome?p.webkit=!0:p.webkit&&(p.safari=!0),a.browser=p),e(a,"browser",a.browser,"jQuery.browser is deprecated"),a.boxModel=a.support.boxModel="CSS1Compat"===document.compatMode,e(a,"boxModel",a.boxModel,"jQuery.boxModel is deprecated"),e(a.support,"boxModel",a.support.boxModel,"jQuery.support.boxModel is deprecated"),a.sub=function(){function b(a,c){return new b.fn.init(a,c)}a.extend(!0,b,this),b.superclass=this,b.fn=b.prototype=this(),b.fn.constructor=b,b.sub=this.sub,b.fn.init=function(d,e){var f=a.fn.init.call(this,d,e,c);return f instanceof b?f:b(f)},b.fn.init.prototype=b.fn;var c=b(document);return d("jQuery.sub() is deprecated"),b},a.fn.size=function(){return d("jQuery.fn.size() is deprecated; use the .length property"),this.length};var y=!1;a.swap&&a.each(["height","width","reliableMarginRight"],function(b,c){var d=a.cssHooks[c]&&a.cssHooks[c].get;d&&(a.cssHooks[c].get=function(){var a;return y=!0,a=d.apply(this,arguments),y=!1,a})}),a.swap=function(a,b,c,e){var f,g,h={};y||d("jQuery.swap() is undocumented and deprecated");for(g in b)h[g]=a.style[g],a.style[g]=b[g];f=c.apply(a,e||[]);for(g in b)a.style[g]=h[g];return f},a.ajaxSetup({converters:{"text json":a.parseJSON}});var z=a.fn.data;a.fn.data=function(b){var e,f,g=this[0];return!g||"events"!==b||1!==arguments.length||(e=a.data(g,b),f=a._data(g,b),e!==c&&e!==f||f===c)?z.apply(this,arguments):(d("Use of jQuery.fn.data('events') is deprecated"),f)};var A=/\/(java|ecma)script/i;a.clean||(a.clean=function(b,c,e,f){c=c||document,c=!c.nodeType&&c[0]||c,c=c.ownerDocument||c,d("jQuery.clean() is deprecated");var g,h,i,j,k=[];if(a.merge(k,a.buildFragment(b,c).childNodes),e)for(i=function(a){return!a.type||A.test(a.type)?f?f.push(a.parentNode?a.parentNode.removeChild(a):a):e.appendChild(a):void 0},g=0;null!=(h=k[g]);g++)a.nodeName(h,"script")&&i(h)||(e.appendChild(h),"undefined"!=typeof h.getElementsByTagName&&(j=a.grep(a.merge([],h.getElementsByTagName("script")),i),k.splice.apply(k,[g+1,0].concat(j)),g+=j.length));return k});var B=a.event.add,C=a.event.remove,D=a.event.trigger,E=a.fn.toggle,F=a.fn.live,G=a.fn.die,H=a.fn.load,I="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",J=new RegExp("\\b(?:"+I+")\\b"),K=/(?:^|\s)hover(\.\S+|)\b/,L=function(b){return"string"!=typeof b||a.event.special.hover?b:(K.test(b)&&d("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),b&&b.replace(K,"mouseenter$1 mouseleave$1"))};a.event.props&&"attrChange"!==a.event.props[0]&&a.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),a.event.dispatch&&e(a.event,"handle",a.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),a.event.add=function(a,b,c,e,f){a!==document&&J.test(b)&&d("AJAX events should be attached to document: "+b),B.call(this,a,L(b||""),c,e,f)},a.event.remove=function(a,b,c,d,e){C.call(this,a,L(b)||"",c,d,e)},a.each(["load","unload","error"],function(b,c){a.fn[c]=function(){var a=Array.prototype.slice.call(arguments,0);return"load"===c&&"string"==typeof a[0]?H.apply(this,a):(d("jQuery.fn."+c+"() is deprecated"),a.splice(0,0,c),arguments.length?this.bind.apply(this,a):(this.triggerHandler.apply(this,a),this))}}),a.fn.toggle=function(b,c){if(!a.isFunction(b)||!a.isFunction(c))return E.apply(this,arguments);d("jQuery.fn.toggle(handler, handler...) is deprecated");var e=arguments,f=b.guid||a.guid++,g=0,h=function(c){var d=(a._data(this,"lastToggle"+b.guid)||0)%g;return a._data(this,"lastToggle"+b.guid,d+1),c.preventDefault(),e[d].apply(this,arguments)||!1};for(h.guid=f;g=0)&&b(c,!e)}}),a("").outerWidth(1).jquery||a.each(["Width","Height"],function(b,c){function d(b,c,d,f){return a.each(e,function(){c-=parseFloat(a.css(b,"padding"+this))||0,d&&(c-=parseFloat(a.css(b,"border"+this+"Width"))||0),f&&(c-=parseFloat(a.css(b,"margin"+this))||0)}),c}var e="Width"===c?["Left","Right"]:["Top","Bottom"],f=c.toLowerCase(),g={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn["inner"+c]=function(b){return void 0===b?g["inner"+c].call(this):this.each(function(){a(this).css(f,d(this,b)+"px")})},a.fn["outer"+c]=function(b,e){return"number"!=typeof b?g["outer"+c].call(this,b):this.each(function(){a(this).css(f,d(this,b,!0,e)+"px")})}}),a.fn.addBack||(a.fn.addBack=function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}),a("").data("a-b","a").removeData("a-b").data("a-b")&&(a.fn.removeData=function(b){return function(c){return arguments.length?b.call(this,a.camelCase(c)):b.call(this)}}(a.fn.removeData)),a.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),a.fn.extend({focus:function(b){return function(c,d){return"number"==typeof c?this.each(function(){var b=this;setTimeout(function(){a(b).focus(),d&&d.call(b)},c)}):b.apply(this,arguments)}}(a.fn.focus),disableSelection:function(){var a="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.bind(a+".ui-disableSelection",function(a){a.preventDefault()})}}(),enableSelection:function(){return this.unbind(".ui-disableSelection")},zIndex:function(b){if(void 0!==b)return this.css("zIndex",b);if(this.length)for(var c,d,e=a(this[0]);e.length&&e[0]!==document;){if(c=e.css("position"),("absolute"===c||"relative"===c||"fixed"===c)&&(d=parseInt(e.css("zIndex"),10),!isNaN(d)&&0!==d))return d;e=e.parent()}return 0}}),a.ui.plugin={add:function(b,c,d){var e,f=a.ui[b].prototype;for(e in d)f.plugins[e]=f.plugins[e]||[],f.plugins[e].push([c,d[e]])},call:function(a,b,c,d){var e,f=a.plugins[b];if(f&&(d||a.element[0].parentNode&&11!==a.element[0].parentNode.nodeType))for(e=0;e'+wc_add_to_cart_params.i18n_view_cart+""),e&&a.each(e,function(b,c){a(b).replaceWith(c)}),a(".widget_shopping_cart, .updating").stop(!0).css("opacity","1").unblock(),a(".shop_table.cart").load(d+" .shop_table.cart:eq(0) > *",function(){a(".shop_table.cart").stop(!0).css("opacity","1").unblock(),a(document.body).trigger("cart_page_refreshed")}),a(".cart_totals").load(d+" .cart_totals:eq(0) > *",function(){a(".cart_totals").stop(!0).css("opacity","1").unblock()}),a(document.body).trigger("added_to_cart",[e,f,b])}}),!1}return!0})});}catch(e){} try{(function(){var a=function(){var a,b;return b=document.createElement("script"),b.src=_zxcvbnSettings.src,b.type="text/javascript",b.async=!0,a=document.getElementsByTagName("script")[0],a.parentNode.insertBefore(b,a)};null!=window.attachEvent?window.attachEvent("onload",a):window.addEventListener("load",a,!1)}).call(this);}catch(e){} try{window.jQuery(document).ready(function($){$('body').on('adding_to_cart',function(event,$button,data){$button&&$button.hasClass('vc_gitem-link')&&$button.addClass('vc-gitem-add-to-cart-loading-btn').parents('.vc_grid-item-mini').addClass('vc-woocommerce-add-to-cart-loading').append($('
'));}).on('added_to_cart',function(event,fragments,cart_hash,$button){if('undefined'===typeof($button)){$button=$('.vc-gitem-add-to-cart-loading-btn');} $button&&$button.hasClass('vc_gitem-link')&&$button.removeClass('vc-gitem-add-to-cart-loading-btn').parents('.vc_grid-item-mini').removeClass('vc-woocommerce-add-to-cart-loading').find('.vc_wc-load-add-to-loader-wrapper').remove();});});}catch(e){} try{function countUp(a,b,c,d,e,f){this.options=f||{useEasing:!0,useGrouping:!0,separator:",",decimal:"."};for(var g=0,h=["webkit","moz","ms"],i=0;ithis.endVal,this.startTime=null,this.timestamp=null,this.remaining=null,this.frameVal=this.startVal,this.rAF=null,this.decimals=Math.max(0,d||0),this.dec=Math.pow(10,this.decimals),this.duration=1e3*e||2e3,this.easeOutExpo=function(a,b,c,d){return c*(-Math.pow(2,-10*a/d)+1)*1024/1023+b},this.count=function(a){null===j.startTime&&(j.startTime=a),j.timestamp=a;var b=a-j.startTime;if(j.remaining=j.duration-b,j.options.useEasing)if(j.countDown){var c=j.easeOutExpo(b,0,j.startVal-j.endVal,j.duration);j.frameVal=j.startVal-c}else j.frameVal=j.easeOutExpo(b,j.startVal,j.endVal-j.startVal,j.duration);else if(j.countDown){var c=(j.startVal-j.endVal)*(b/j.duration);j.frameVal=j.startVal-c}else j.frameVal=j.startVal+(j.endVal-j.startVal)*(b/j.duration);j.frameVal=Math.round(j.frameVal*j.dec)/j.dec,j.countDown?j.frameVal=j.frameValj.endVal?j.endVal:j.frameVal,j.d.innerHTML=j.formatNumber(j.frameVal.toFixed(j.decimals)),b1?j.options.decimal+b[1]:"",e=/(\d+)(\d{3})/,j.options.useGrouping)for(;e.test(c);)c=c.replace(e,"$1"+j.options.separator+"$2");return c+d},j.d.innerHTML=j.formatNumber(j.startVal.toFixed(j.decimals))}function ult_creative_link_ht(){jQuery(".ult_cl_link_9").each(function(a){var b=jQuery(this).find(".ult_colorlink").outerHeight(),b=parseInt(b/2);jQuery(this).find(".ult_btn9_link_top").css({"-webkit-transform":"translateY(-"+b+"px)","-ms-transform":"translateY(-"+b+"px)","-moz-transform":"translateY(-"+b+"px)",transform:"translateY(-"+b+"px)"}),jQuery(this).find(".ult_btn9_link_btm").css({"-webkit-transform":"translateY("+b+"px)","-moz-transform":"translateY("+b+"px)","-ms-transform":"translateY("+b+"px)",transform:"translateY("+b+"px)"})})}function recallme(){jQuery(".ult_dual_button").each(function(a){var b=jQuery(this).attr("id"),c=jQuery(this).data("response");if("undefined"!=c&&""!=c||(c="on"),"on"==c){var d=b;d=document.createElement("style"),d.type="text/css",d.innerHTML="@media(min-width:300px) and (max-width:768px){#"+b+".ult_dual_button .ulitmate_dual_buttons .ult_dualbutton-wrapper { margin: 0px;float: none;position: relative}.ult_main_dualbtn { display: inline-block}.ult_dualbutton-wrapper { display: block }#"+b+".ult_dual_button .middle-text {top: 100%;right: 50%}#"+b+".ult_dual_button .ulitmate_dual_buttons .ult_dualbutton-wrapper:first-child .ult_ivan_button { border-bottom-right-radius: 0!important; border-bottom-left-radius: 0!important; border-top-right-radius: inherit; border-bottom: 0px!important;}#"+b+".ult_dual_button .ulitmate_dual_buttons .ult_dualbutton-wrapper:last-child .ult_ivan_button { border-top-left-radius: 0!important;border-top-right-radius: 0!important}}@media(min-width:0px) and (max-width:0px){#"+b+".ult_dual_button .ulitmate_dual_buttons .ult_dualbutton-wrapper { float: left; position: relative}.ult_dual1 { border-right: none!important } .ult_dualbutton-wrapper {display: block}#"+b+".ult_dual_button .ulitmate_dual_buttons .ult_dualbutton-wrapper:first-child .ult_ivan_button { border-top-right-radius: 0!important; border-bottom-right-radius: 0!important}#"+b+".ult_dual_button .ulitmate_dual_buttons .ult_dualbutton-wrapper:last-child .ult_ivan_button { border-top-left-radius: 0!important; border-bottom-left-radius: 0!important }}@media(min-width:768px) and (max-width:970px){ #"+b+".ult_dual_button .ulitmate_dual_buttons .ult_dualbutton-wrapper { margin: -4px; float: none; position: relative }.ult_dualbutton-wrapper { display: block} #"+b+".ult_dual_button .middle-text { top: 100%; right: 50% }#"+b+".ult_dual_button .ulitmate_dual_buttons .ult_dualbutton-wrapper:first-child .ult_ivan_button { border-bottom-right-radius: 0!important; border-bottom-left-radius: 0!important; border-top-right-radius: inherit }#"+b+".ult_dual_button .ulitmate_dual_buttons .ult_dualbutton-wrapper:last-child .ult_ivan_button { border-top-left-radius: 0!important; border-top-right-radius: 0!important }}@media(min-width:970px){ #"+b+".ult_dual_button .ulitmate_dual_buttons .ult_dualbutton-wrapper:first-child .ult_ivan_button { border-top-right-radius: 0!important; border-bottom-right-radius: 0!important}#"+b+".ult_dual_button .ulitmate_dual_buttons .ult_dualbutton-wrapper:last-child .ult_ivan_button { border-top-left-radius: 0!important; border-bottom-left-radius: 0!important }#"+b+".ult_dual_button .ult_dual1 { border-right: none!important}}",document.getElementsByTagName("head")[0].appendChild(d),document.getElementsByTagName("head")[0].appendChild(d);var e=jQuery(window).width(),f=jQuery(this).find(".ult_dual1").outerWidth(),g=jQuery(this).find(".ult_dual2").outerWidth();if(e>300&&e<=768)var h="inset 0px -"+f+"px 0px 0px ",i=" inset 0px "+g+"px 0px 0px ";else if(e>768&&e<1015)var h="inset 0px -"+f+"px 0px 0px ",i=" inset 0px "+g+"px 0px 0px ";else var h="inset -"+f+"px 0 0 0 ",i="inset "+g+"px 0 0 0";jQuery("#"+b).find(".ult_dual1").mouseenter(function(){var a=jQuery(this).find(".ult-dual-btn-1").attr("class"),b=a.split(" "),a=b[1]+b[2];if("Style2"==a){var c=jQuery(this).find(".ult-dual-btn-1").data("bghovercolor");jQuery(this).css({"box-shadow":h+c})}}),jQuery("#"+b).find(".ult_dual1").mouseleave(function(){var a=jQuery(this).find(".ult-dual-btn-1").attr("class"),b=a.split(" "),a=b[1]+b[2];if("Style2"==a){var c=jQuery(this).find(".ult-dual-btn-1").data("bgcolor");jQuery(this).css({"box-shadow":"inset 0px 0 0 0 "+c})}}),jQuery("#"+b).find(".ult_dual2").mouseenter(function(){var a=jQuery(this).find(".ult-dual-btn-2").attr("class"),b=a.split(" "),a=b[1]+b[2];if("Style2"==a){var c=jQuery(this).find(".ult-dual-btn-2").data("bghovercolor");jQuery(this).css({"box-shadow":i+c})}}),jQuery("#"+b).find(".ult_dual2").mouseleave(function(){var a=jQuery(this).find(".ult-dual-btn-2").attr("class"),b=a.split(" "),a=b[1]+b[2];if("Style2"==a){var c=jQuery(this).find(".ult-dual-btn-2").data("bgcolor");jQuery(this).css({"box-shadow":"inset 0px 0 0 0 "+c})}})}else{var d=b;d=document.createElement("style"),d.type="text/css",d.innerHTML="#"+b+".ult_dual_button .ulitmate_dual_buttons .ult_dualbutton-wrapper:first-child .ult_ivan_button { border-top-right-radius: 0!important; border-bottom-right-radius: 0!important }#"+b+".ult_dual_button .ulitmate_dual_buttons .ult_dualbutton-wrapper:last-child .ult_ivan_button { border-top-left-radius: 0!important; border-bottom-left-radius: 0!important }#"+b+".ult_dual_button .ult_dual1 { border-right: none!important}",document.getElementsByTagName("head")[0].appendChild(d),document.getElementsByTagName("head")[0].appendChild(d),jQuery("#"+b).find(".ult_dual1").mouseenter(function(){var a=jQuery(this).find(".ult-dual-btn-1").attr("class"),b=a.split(" "),a=b[1]+b[2],c=jQuery(this).outerWidth();if("Style2"==a){var d="inset -"+c+"px 0 0 0 ",e=jQuery(this).find(".ult-dual-btn-1").data("bghovercolor");jQuery(this).css({"box-shadow":d+e})}}),jQuery("#"+b).find(".ult_dual1").mouseleave(function(){var a=jQuery(this).find(".ult-dual-btn-1").attr("class"),b=a.split(" "),a=b[1]+b[2];if("Style2"==a){var c=jQuery(this).find(".ult-dual-btn-1").data("bgcolor");jQuery(this).css({"box-shadow":"inset 0px 0 0 0 "+c})}}),jQuery("#"+b).find(".ult_dual2").mouseenter(function(){var a=jQuery(this).find(".ult-dual-btn-2").attr("class"),b=a.split(" "),a=b[1]+b[2],c=jQuery(this).outerWidth();if("Style2"==a){var d="inset "+c+"px 0 0 0",e=jQuery(this).find(".ult-dual-btn-2").data("bghovercolor");jQuery(this).css({"box-shadow":d+e})}}),jQuery("#"+b).find(".ult_dual2").mouseleave(function(){var a=jQuery(this).find(".ult-dual-btn-2").attr("class"),b=a.split(" "),a=b[1]+b[2];if("Style2"==a){var c=jQuery(this).find(".ult-dual-btn-2").data("bgcolor");jQuery(this).css({"box-shadow":"inset 0px 0 0 0 "+c})}})}})}function info_box_set_auto_height(){jQuery(".aio-icon-box.square_box-icon").each(function(a,b){var c=jQuery(window).width()||"";if(""!=c)if(c>=768){var d=jQuery(this).attr("data-min-height")||"";""!=d&&jQuery(this).css("min-height",d)}else jQuery(this).css("min-height","initial")})}function calculate_clipped_circle(){jQuery(".clipped-info-circle").each(function(){var a=jQuery(this).data("circle-type"),b=jQuery(this).data("half-percentage"),c=jQuery(this).children().data("responsive-circle");if("on"==c){var d=jQuery(this).children().data("responsive-breakpoint"),e=jQuery(window).width(),a=jQuery(this).data("circle-type");if(e>d){var f=jQuery(this).data("first-height");"undefined"!=typeof f&&""!=f&&jQuery(this).height(f),jQuery(this).width("100%"),make_info_circle(".info-c-full-br",resizedd)}}var g=jQuery(this).find(".info-circle-icons").outerHeight(),h=jQuery(this).find(".info-circle-icons").outerHeight();if("full-circle"!=a){var i=jQuery(this).outerHeight(),j=(jQuery(this).outerWidth(),jQuery(this).css("margin-top")),k=jQuery(this).css("margin-bottom"),l=jQuery(this).children().outerWidth(),m=parseInt(jQuery(this).find(".info-c-full").css("margin-top").replace(/[^-\d\.]/g,"")),n=parseInt(jQuery(this).find(".info-c-full").css("padding-top").replace(/[^-\d\.]/g,""));if("top-circle"==a||"bottom-circle"==a){jQuery(this).css({overflow:"hidden"});var o=(jQuery(this).find(".info-c-full").outerWidth(),jQuery(this).find(".info-c-full").width());if("top-circle"==a){var p=b/100*i;jQuery(this).css({"padding-top":j,height:p,"margin-bottom":0});var q=p-m-parseInt(j.replace(/[^-\d\.]/g,""))-n-n/2;jQuery(this).find(".info-c-full-wrap").css({height:q})}else if("bottom-circle"==a){var r=(100-b)/100*i,p=i-r+10;jQuery(this).css({"padding-bottom":k,height:p,"margin-top":0}),jQuery(this).children().css({"margin-top":-(r+g/2)});var q=p-m-parseInt(j.replace(/[^-\d\.]/g,""))-n-n/2;jQuery(this).find(".info-c-full-wrap").height(q);var s=o-q;jQuery(this).find(".info-c-full-wrap").css({"margin-top":s+"px"})}}else if("left-circle"==a||"right-circle"==a){jQuery(this).css({overflow:"hidden","padding-top":j,"padding-bottom":k});var o=(jQuery(this).find(".info-c-full").outerWidth(),jQuery(this).find(".info-c-full").width());if("left-circle"==a){var t=b/100*l;jQuery(this).css({width:t,"padding-left":j}),jQuery(this).children().css({width:l,"max-width":l});var u=t-m-(n+n/2)-parseInt(j.replace(/[^-\d\.]/g,""));jQuery(this).find(".info-c-full-wrap").width(u)}else if("right-circle"==a){var v=(100-b)/100*l,t=parseInt(l-v);jQuery(this).css({width:t,"padding-right":j}),jQuery(this).children().css({"margin-left":-(v+h/2),"max-width":l,width:l});var w=v-m;w=w+parseInt(j.replace(/[^-\d\.]/g,""))-n;var u=t-m-parseInt(j.replace(/[^-\d\.]/g,""))-n,x=w;jQuery(this).find(".info-c-full-wrap").width(u),jQuery(this).find(".info-c-full-wrap").css({"margin-left":x+"px"})}}}if("on"==c){var d=jQuery(this).children().data("responsive-breakpoint"),e=jQuery(window).width();e<=d&&jQuery(this).css({width:"auto",overflow:"visible",height:"auto",padding:0})}})}function info_circle_slide(a,b){b.bsf_appear(function(){setInterval(function(){if("on"==b.attr("data-slide-true")){var a=1*b.attr("data-slide-number"),c=b.find(".info-circle-icons").length;"full"!=b.data("info-circle-angle")?c-1==a&&(a=0):c==a&&(a=0);var d=b.find(".info-circle-icons").eq(a);b.attr("data-slide-number",a+1),show_next_info_circle(d)}},a)})}function show_next_info_circle(a){var b=a.parents(".info-c-full-br").data("highlight-style");""!=b&&(a.parents(".info-c-full-br").find("."+b).removeClass(b).removeClass("info-cirlce-active"),a.addClass(b).addClass("info-cirlce-active"));var c=a.next(),d=a.parents(".info-c-full-br").data("icon-show-size");"not-show"==a.parents(".info-c-full-br").data("icon-show")&&(c.find("i").remove(),c.find("img").remove(),a.parents(".info-c-full-br").find(".info-c-full").addClass("cirlce-noicon")),c=c.html();var e=(a.css("font-size"),a.attr("style"),a.parents(".info-c-full-br"));e.find(".info-c-full-wrap").stop().animate({opacity:0},"slow",function(){a.parents(".info-c-full-br").find(".info-c-full .info-c-full-wrap").html(c),e.find(".info-c-full i").css({"font-size":parseInt(d)+"px"}),e.find(".info-c-full img").css({width:parseInt(d)+"px"}),a.parents(".info-c-full-br").find(".info-c-full-wrap").animate({opacity:1},"slow")})}function responsive_check(a){jQuery(a).each(function(){if("on"==jQuery(this).data("responsive-circle")){var a=jQuery(this).parent(),b=a.data("uniqid"),c=jQuery(this).data("responsive-breakpoint"),d="info-circle-wrapper-"+b,e="";jQuery("head").append(e);var f=jQuery(this).parent().find(".smile_icon_list_wrap .smile_icon_list"),g=f.find(".icon_list_item").clone();f.find(".icon_list_item").remove();var h=jQuery(this).next().data("content_bg"),i=jQuery(this).next().data("content_color");jQuery(this).find(".icon-circle-list .info-details").each(function(){var a=jQuery(this).attr("data-icon-class"),b=jQuery(this).find(".info-circle-heading").html(),c=jQuery(this).find(".info-circle-text").html(),d=jQuery(this).prev().css("background-color"),e=jQuery(this).prev().css("color"),j=jQuery(this).prev().css("border"),k=jQuery(this).find(".info-circle-sub-def").children().eq(0).clone();g.find(".icon_list_icon").html(k.wrap("
").parent().html()),g.find(".icon_description").css("color",i),g.find(".icon_description").css("background-color",h),g.find(".icon_description h3").html(b),g.find(".icon_description p").html(c),g.find(".icon_list_icon").css({"background-color":d,color:e,border:j}),g.addClass(a),f.append(g.wrap("
").parent().html())})}})}function make_info_circle(a,b){jQuery(a).each(function(a,b){var c=jQuery(b).data("icon-size");jQuery(jQuery(b).find(".icon-circle-list .info-circle-icons")).each(function(a,d){var e,f,g,h,i=!!jQuery(d).hasClass("info-circle-icon-without-background");i?(e=f=h=c,g=c/2):(e=f=h=2*c,g=c),jQuery(b).parent().css({"margin-top":g+10+"px","margin-bottom":g+10+"px"}),jQuery(b).find(".icon-circle-list .info-circle-icons").css({"font-size":c+"px",height:e+"px",width:f+"px",margin:"-"+(g+"px"),"line-height":h+"px"})})}),".info-c-full-br"==a&&jQuery(a).each(function(){jQuery(this).css("height",jQuery(this).width()),jQuery(this).css("opacity","1")}),".info-c-semi-br"==a&&jQuery(a).each(function(){var a=jQuery(this).width();jQuery(this).css("height",parseInt(a)/2+"px");var a=a+"px "+a+"px 0 0";jQuery(this).css("border-radius",a);var b=jQuery(this).find(".info-c-full").width();b=b+"px "+b+"px 0 0",jQuery(this).find(".info-c-full").css("border-radius",b)}),setTimeout(function(){b==resizedd&&(".info-c-full-br"==a&&part_circle_icon(a),".info-c-semi-br"==a&&semi_circle_icon(a))},1e3)}function part_circle_icon(a){jQuery(a).each(function(){jQuery(this).bsf_appear(function(){if("none"!=jQuery(this).css("display")){var a=jQuery(this).find(".icon-circle-list .info-circle-icons").length,b=new Array,c=jQuery(this).outerWidth()/2,d=0,e=jQuery(this).data("start-degree");"undefined"==typeof e&&""==e||(d=e);var f=180/a,g=jQuery(this).data("info-circle-angle"),h=jQuery(this).data("divert"),i="";"full"==g&&(i=g,g=180,f=90,c=-c);var j=0,k=!1;for(m=1;m<=a;m++){var l=m*((180+2*f)/a);"full"==i?(ld&&1==m&&(j=l-d,k=!0),1==k?l-=j:l+=j):l=l+g-f+h,l=.0174532925*l,b.push(c*Math.cos(l)),b.push(c*Math.sin(l))}var m=0,n=0,o=jQuery(this).data("launch"),p=jQuery(this).data("launch-duration"),q=jQuery(this).data("launch-delay");p||(p=1),q||(q=.15),""!=o?(n=-(1e3*q),jQuery(this).find(".icon-circle-list .info-circle-icons").each(function(){var a=jQuery(this);n+=1e3*q,setTimeout(function(){a.animate({opacity:1,left:b[m++],top:b[m++]},{duration:1e3*p,easing:o})},n)})):jQuery(this).find(".icon-circle-list .info-circle-icons").each(function(){var a=jQuery(this);a.css({opacity:"1",left:b[m++],top:b[m++]})})}})})}function setmytime(){function a(){var a=jQuery(window).width();jQuery(".ult_tabs").each(function(){var b=(jQuery(this).data("tabsstyle"),jQuery(this).data("respmode")),d=jQuery(this).data("respwidth"),e=jQuery(this).data("responsivemode");a>=d?(jQuery(this).parent().find(".ult_acord").css({display:"none"}),jQuery(this).parent().find(".ult_tabs").css({display:"block"}),"Both"!=e&&(jQuery(this).find(".aio-icon").hasClass("ult_tab_resp_icon")&&jQuery(this).find(".aio-icon").removeClass("ult_tab_resp_icon").addClass("icon-top"),jQuery(this).find(".ult_tab_main").hasClass("ult_tab_resp_ult_top")&&jQuery(this).find(".ult_tab_main").removeClass("ult_tab_resp_ult_top").addClass("ult_top"))):("Accordion"==b&&(jQuery(this).parent().find(".ult_acord").css({display:"block"}),jQuery(this).parent().find(".ult_tabs").css({display:"none"})),"Both"!=e&&(jQuery(this).find(".aio-icon").hasClass("icon-top")&&jQuery(this).find(".aio-icon").removeClass("icon-top").addClass("ult_tab_resp_icon"),jQuery(this).find(".ult_tab_main").hasClass("ult_top")&&jQuery(this).find(".ult_tab_main").removeClass("ult_top").addClass("ult_tab_resp_ult_top"))),a>300&&a<660&&(jQuery(this).find(".ult_a ").removeClass("false"),c.push(ht1),"Both"!=e&&(jQuery(this).find(".aio-icon").hasClass("icon-top")&&jQuery(this).find(".aio-icon").removeClass("icon-top").addClass("ult_tab_resp_icon"),jQuery(this).find(".ult_tab_main").hasClass("ult_top")&&jQuery(this).find(".ult_tab_main").removeClass("ult_top").addClass("ult_tab_resp_ult_top")))})}var b=[],c=[],d=!0,e=escape(window.location.hash.substr(1));if(""!=e){var f=jQuery("a[href$='"+e+"']");if(f.parents(".ult_tabs").length>0){var g=f.parents(".ult_tabs"),h=g.data("activebg"),i=g.data("titlebg"),j=g.data("titlecolor"),k=g.data("activetitle"),l=g.data("tabsstyle"),m=g.data("activeicon"),n=g.find("li.ult_tab_li").data("iconcolor");if(""==m)var m=g.find("li.ult_tab_li").data("iconhover");g.find("li.ult_tab_li").removeClass("current"),f.parent().addClass("current"),"style1"==l||"style2"==l?(g.find("a.ult_a").css({"background-color":i}),f.css({"background-color":h})):(g.find("li.ult_tab_li").css({"background-color":i}),f.parent().css({"background-color":h})),g.find("a.ult_a").css({color:j}),f.css({color:k}),g.find(".ult_tab_icon").css({color:n}),f.find(".ult_tab_icon").css({color:m});var o=f.parent().index()+1;g.find(".ult_tabitemname").css({display:"none"}),g.find(".ult_tabitemname:nth-child("+o+")").css({display:"block"});g.offset().top,g.offset().left;g.hasClass("ult_aniamte")||jQuery("html, body").animate({scrollTop:g.offset().top},1e3),g.addClass("ult_aniamte"),g.find("ul.ult_tabmenu li a.ult_a").click(function(a){a.preventDefault(),jQuery("html,body").clearQueue(),jQuery("html,body").stop()})}}jQuery(".ult_tabs").each(function(){var a=jQuery(this).data("fullheight"),e=0;"on"==a&&jQuery(this).find(".ult_tabitemname").each(function(){e=i?(jQuery(this).parent().find(".ult_acord").css({display:"none"}),jQuery(this).parent().find(".ult_tabs").css({display:"block"})):"Accordion"==h&&(jQuery(this).parent().find(".ult_acord").css({display:"block"}),jQuery(this).parent().find(".ult_tabs").css({display:"none"})),jQuery(this).find(".ult_tabmenu").hasClass("Style_4");var m=0;d="false",jQuery(this).find(".ult_tab_li").each(function(){m300&&g<660&&(ht1=m/2)):"style1"==f&&jQuery(this).find(".ult_tabmenu").hasClass("Style_5"),g>300&&g<660&&(jQuery(this).find(".ult_a ").removeClass("false"),c.push(ht1),"Both"!=j&&(jQuery(this).find(".aio-icon").hasClass("icon-top")&&jQuery(this).find(".aio-icon").removeClass("icon-top").addClass("ult_tab_resp_icon"),jQuery(this).find(".ult_tab_main").hasClass("ult_top")&&jQuery(this).find(".ult_tab_main").removeClass("ult_top").addClass("ult_tab_resp_ult_top"))),jQuery(this).find(".ult_a ").hasClass("false")&&b.push(ht1)}),jQuery(window).resize(function(b){a()})}!function(a){jQuery(document).ready(function(){function b(){return!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&void jQuery(".enable-on-viewport").each(function(a,b){var c=jQuery(this).isVdoOnScreen();jQuery(this).hasClass("hosted-video")&&!jQuery(this).hasClass("override-controls")&&(c?(jQuery(this)[0].play(),jQuery(this).parent().parent().parent().find(".video-controls").attr("data-action","play"),jQuery(this).parent().parent().parent().find(".video-controls").html('')):(jQuery(this)[0].pause(),jQuery(this).parent().parent().parent().find(".video-controls").attr("data-action","pause"),jQuery(this).parent().parent().parent().find(".video-controls").html('')))})}function c(a){var b=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;a=a.replace(b,function(a,b,c,d){return b+b+c+c+d+d});var c=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a);return c?{r:parseInt(c[1],16),g:parseInt(c[2],16),b:parseInt(c[3],16)}:null}function d(b,d){var e=b.data("seperator"),f=b.data("seperator-type"),g=b.data("seperator-shape-size"),h=b.data("seperator-background-color"),i=b.data("seperator-border"),j=b.data("seperator-border-color"),k=b.data("seperator-border-width"),l=b.data("seperator-svg-height"),m=b.data("seperator-full-width"),n=b.data("seperator-position");"undefined"!=typeof n&&""!=n||(n="top_seperator");var o=b.data("icon");o="undefined"==typeof o?"":'
'+o+"
";var p=seperator_class=seperator_border_css=seperator_border_line_css=seperator_css="";if("undefined"!=typeof e&&"true"==e.toString()){var q=shape_css=svg=inner_html=seperator_css=shape_css="",r=!1,s=Math.floor(9999999999999*Math.random()),t="uvc-seperator-"+s;"undefined"!=typeof g&&""!=g&&"undefined"!=g||(g=0),g=parseInt(g);var u=g/2,v=0;if("triangle_seperator"==f)seperator_class="ult-trinalge-seperator";else if("circle_seperator"==f)seperator_class="ult-circle-seperator";else if("diagonal_seperator"==f)seperator_class="ult-double-diagonal";else if("triangle_svg_seperator"==f)seperator_class="ult-svg-triangle",svg='',r=!0;else if("circle_svg_seperator"==f)seperator_class="ult-svg-circle",svg='',r=!0;else if("xlarge_triangle_seperator"==f)seperator_class="ult-xlarge-triangle",svg='',r=!0;else if("xlarge_triangle_left_seperator"==f)seperator_class="ult-xlarge-triangle-left",svg='',r=!0;else if("xlarge_triangle_right_seperator"==f)seperator_class="ult-xlarge-triangle-right",svg='',r=!0;else if("xlarge_circle_seperator"==f)seperator_class="ult-xlarge-circle",svg='',r=!0;else if("curve_up_seperator"==f)seperator_class="ult-curve-up-seperator",svg='',r=!0;else if("curve_down_seperator"==f)seperator_class="ult-curve-down-seperator",svg='',r=!0;else if("tilt_left_seperator"==f)seperator_class="ult-tilt-left-seperator",svg='',r=!0;else if("tilt_right_seperator"==f)seperator_class="ult-tilt-right-seperator",svg='',r=!0;else if("waves_seperator"==f)seperator_class="ult-wave-seperator",svg='', r=!0;else if("clouds_seperator"==f)seperator_class="ult-cloud-seperator",svg='',r=!0;else if("multi_triangle_seperator"==f){seperator_class="ult-multi-trianle";var w=c(h);svg='\t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t ',r=!0}else if("round_split_seperator"==f){var x=temp_border_before=temp_border_after=temp_border_line="";temp_padding=0,seperator_class="ult-rounded-split-seperator-wrapper";jQuery(b).outerHeight();if(0!=g){var y=parseInt(jQuery(b).css("padding-bottom"));jQuery(b).css({"padding-bottom":g+"px"}),0==y&&(temp_padding=g)}if("top_seperator"==n)var z="top-split-seperator",A="0px",B="auto",C="border-radius: 0 0 "+g+"px 0 !important;",D="border-radius: 0 0 0 "+g+"px !important;";else if("bottom_seperator"==n)var z="bottom-split-seperator",A="auto",B="0px",C="border-radius: 0 "+g+"px 0 0 !important;",D="border-radius: "+g+"px 0 0 0 !important;";else var z="top-bottom-split-seperator",E="0px",F="auto",G="auto",H="0px",I="border-radius: 0 0 "+g+"px 0 !important;",J="border-radius: 0 0 0 "+g+"px !important;",K="border-radius: 0 "+g+"px 0 0 !important;",L="border-radius: "+g+"px 0 0 0 !important;";inner_html='
',"none"!=i&&(temp_border_line=k+"px "+i+" "+j,temp_border_before="border-top: "+temp_border_line+"; border-right: "+temp_border_line+";",temp_border_after="border-top: "+temp_border_line+"; border-left: "+temp_border_line+";"),"top_seperator"==n||"bottom_seperator"==n?(x="",jQuery("head").append(x)):(x="",temp_css_bottom="",jQuery("head").append(x+temp_css_bottom))}else seperator_class="ult-no-shape-seperator";if("undefined"!=typeof k&&""!=k&&0!=k&&(v=parseInt(k)),shape_css='content: "";width:'+g+"px; height:"+g+"px; bottom: -"+(u+v)+"px;",""!=h&&(shape_css+="background-color:"+h+";"),"none"!=i&&"ult-rounded-split-seperator-wrapper"!=seperator_class&&0==r&&(seperator_border_line_css=k+"px "+i+" "+j,shape_css+="border-bottom:"+seperator_border_line_css+"; border-right:"+seperator_border_line_css+";",seperator_css+="border-bottom:"+seperator_border_line_css+";",p="bottom:"+k+"px !important"),"ult-no-shape-seperator"!=seperator_class&&"ult-rounded-split-seperator-wrapper"!=seperator_class&&0==r){var q="";jQuery("head").append(q)}if(1==r&&(inner_html=svg),"top_bottom_seperator"==n){var M='
'+inner_html+"
"+o+"
";M+='
'+inner_html+"
"+o+"
"}else var M='
'+inner_html+"
"+o+"
";if(d.prepend(M),seperator_css="",""!=p&&(p="",seperator_css+=p),""!=o){var N=l/2;"none_seperator"==f||"circle_svg_seperator"==f||"triangle_svg_seperator"==f?seperator_css+="":seperator_css+=""}1==r&&(jQuery("."+t).find("svg").css("height",l),setTimeout(function(){"multi_triangle_seperator"==f&&jQuery(".ult-multi-trianle").each(function(b,c){var d=a(c).find("svg").height();a(c).hasClass("top_seperator")||a(c).hasClass("bottom_seperator")&&a(c).css("bottom",d-1)})},300)),jQuery("head").append(seperator_css)}}function e(){jQuery(".ult-vc-hide-row").each(function(a,b){var c=jQuery(b).data("hide-row");""!=c&&jQuery(b).addClass(c)})}function f(){jQuery(".ult-vc-seperator").each(function(a,b){var c=jQuery(this).data("full-width"),d=jQuery(this).parent().data("rtl");"undefined"==typeof d&&(d="false");var e=jQuery(this).parent().find(".upb_row_bg").data("bg-override");if("undefined"==typeof e)var e=jQuery(this).parent().find(".upb_video-bg").data("bg-override");if(("ex-full"==e||"full"==e||"browser_size"==e)&&1==c){var f=jQuery("html").width();if(jQuery(this).hasClass("ult-rounded-split-seperator-wrapper")){var g=jQuery(this).data("border"),h=jQuery(this).data("border-width");"undefined"!=typeof g&&"none"!=g&&"undefined"!=g&&(f-=h)}var i=jQuery(this).offset().left;jQuery(this).find(".ult-main-seperator-inner").width(f),"true"==d.toString()?jQuery(this).find(".ult-main-seperator-inner").css({"margin-right":-i+"px"}):jQuery(this).find(".ult-main-seperator-inner").css({"margin-left":-i+"px"})}})}/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&a("html").addClass("ult-remove-fixed-background"),jQuery(window).scroll(function(){b()}),jQuery(window).load(function(){b()}),jQuery.fn.isVdoOnScreen=function(){var a=jQuery(window),b={top:a.scrollTop(),left:a.scrollLeft()};b.right=b.left+a.width(),b.bottom=b.top+a.height()-200;var c=this.parent().offset();return c.right=c.left+this.parent().outerWidth(),c.bottom=c.top+this.parent().outerHeight()-300,!(b.rightc.right||b.bottomc.bottom)},jQuery.fn.ultimate_video_bg=function(a){return jQuery(this).each(function(){var c=jQuery(this),e=c.data("ultimate-video"),f=c.data("ultimate-video2"),g=c.data("ultimate-video-muted"),h=c.data("ultimate-video-loop"),i=c.data("ultimate-video-autoplay"),j=c.data("ultimate-video-poster"),k=c.data("bg-override"),l=c.data("start-time"),m=c.data("stop-time"),n=c.data("upb-bg-animation"),o=c.data("overlay"),p=c.data("overlay-color"),q=c.data("overlay-pattern"),r=c.data("overlay-pattern-opacity"),s=c.data("overlay-pattern-size"),t=c.data("overlay-pattern-attachment"),u=c.data("viewport-video"),v=c.data("controls"),w=c.data("controls-color"),x=c.data("fadeout"),y=c.data("fadeout-percentage"),z=c.data("parallax-content"),A=c.data("parallax-content-sense"),B=c.data("row-effect-mobile-disable"),C=c.data("hide-row"),D=c.data("rtl"),E=c.data("video_fixer"),F="",G="",H=c.data("custom-vc-row"),I=c.data("vc"),J=c.data("theme-support"),K=c.data("is_old_vc");"undefined"!=typeof H&&""!==H||(H="wpb_row"),"undefined"==typeof I&&(I=0),"undefined"==typeof K&&(K=!1),"undefined"==typeof J&&(J="disable"),c.data("multi-color-overlay")&&(F=c.data("multi-color-overlay"),G=c.data("multi-color-overlay-opacity"));var L=overlay_color_html=overlay_pattern_html=overlay_multi_color_html=overlay_pattern_attachment_css="";if("undefined"!=typeof o&&"true"===o.toString()&&(""!=q&&(""!=s&&(s="background-size:"+s+"px;"),"undefined"!=typeof t&&""!=t&&(overlay_pattern_attachment_css="background-attachment:"+t+";"),overlay_pattern_html='
'),""!=p&&(overlay_color_html='
'),""!=F&&(overlay_multi_color_html='
'),L=overlay_color_html+overlay_pattern_html+overlay_multi_color_html),m=0!=m?m:"",1==K||"enable"==J)if(c.prev().is("p")||c.prev().is("style"))var M=c.prev().prev();else var M=c.prev();else var M=c.prevAll("."+H+":first");M.css("position","relative");var N=M.attr("class"),O=c;c=M;var P=function(){var a,b,d,e="",f="";if(d=c,resize_selector=d.find(".upb_video-bg"),"full"==k&&(d=jQuery("body")),"ex-full"==k&&(d=jQuery("html")),!isNaN(k))for(var g=0;g'}if("browser_size"==k&&(c.wrapInner('
'),c.find(".upb_video-text-wrapper").find(".upb_video-text").addClass(N)),"parallax_content_value"==z){c.addClass("vc-row-translate"),c.attr("data-parallax-content-sense",A),c.wrapInner('
');var T=c.css("padding-top"),U=c.css("padding-bottom");c.find(".vc-row-translate-wrapper").css({"padding-top":T,"padding-bottom":U}),c[0].style.setProperty("padding-top","0px","important"),c[0].style.setProperty("padding-bottom","0px","important")}var V="";if("true"==E.toString()&&(V="uvc-video-fixer"),"youtube"==a||"vimeo"==a?c.prepend('
'+L+"
"):c.prepend('
'+Q+L+"
"),d(O,c),O.remove(),"youtube"==a){e=e.substring(e.indexOf("watch?v=")+8,e.indexOf("watch?v=")+19);var W=c.find(".upb_video-bg");"loop"==h&&(h=!0),"muted"==g&&(g=!0),W.attr("data-vdo",e),W.attr("data-loop",h),W.attr("data-poster",j),W.attr("data-muted",g),W.attr("data-start",l),W.attr("data-stop",m),u===!0&&(W.addClass("enable-on-viewport"),W.addClass("youtube-video"),b())}else if("vimeo"==a){e=e.substring(e.indexOf("vimeo.com/")+10,e.indexOf("vimeo.com/")+18);var W=c.find(".upb_video-bg");W.html('')}else{var W=c.find(".upb_video-src");if(hosted_wrapper=W.parent(),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&"display_control"!=v)"display_control"!=v&&(""!=j&&W.parent().find(".video-controls").hide(),W.remove());else{if(jQuery("",{type:"video/mp4",src:e}).appendTo(W),"undefined"!=typeof f&&""!==f){var X="";f.match(/.ogg/i)?X="video/ogg":f.match(/.webm/i)&&(X="video/webm"),""!=X&&jQuery("",{type:X,src:f}).appendTo(W)}"muted"==g&&W.attr({"data-mute":"muted"}),"loop"==h&&W.attr({loop:h}),W.attr({preload:"auto"}),u===!0?(W.addClass("enable-on-viewport"),W.addClass("hosted-video"),b()):"autoplay"==i&&W.attr({autoplay:i})}}""!=j&&(console.log(W),W.is(".utube")?W.css({"background-image":"url("+j+")"}):hosted_wrapper.css({"background-image":"url("+j+")"})),jQuery(".upb_video-src").each(function(a,b){var c=jQuery(b).attr("data-mute");if("undefined"==typeof c&&(c=!1),"muted"===c){var d=jQuery(b)[0];d.muted="muted"}})}),this},jQuery.fn.ultimate_bg_shift=function(){return jQuery(this).each(function(){var a=jQuery(this),b=a.data("ultimate-bg"),c=a.data("ultimate-bg-style"),e=a.prev().css("background-color"),f=a.data("bg-img-repeat"),g=a.data("bg-img-size"),h=a.data("bg-img-position"),i=a.data("parallx_sense"),j=a.data("bg-override"),k=a.data("bg_img_attach"),l=a.data("upb-bg-animation"),m="",n=a.data("overlay"),m=a.data("overlay-color"),o=a.data("overlay-pattern"),p=a.data("overlay-pattern-opacity"),q=a.data("overlay-pattern-size"),r=a.data("overlay-pattern-attachment"),s=a.data("fadeout"),t=a.data("fadeout-percentage"),u=a.data("parallax-content"),v=a.data("parallax-content-sense"),w=a.data("bg-animation"),x=a.data("bg-animation-type"),y=a.data("animation-repeat"),z=a.data("row-effect-mobile-disable"),A=a.data("img-parallax-mobile-disable"),B=a.data("hide-row"),C=a.data("rtl"),D="",E="",F=a.data("custom-vc-row"),G=a.data("vc"),H=a.data("theme-support"),I=a.data("is_old_vc");"undefined"!=typeof F&&""!==F||(F="wpb_row"),"undefined"==typeof G&&(G=0),"undefined"==typeof I&&(I=!1),"undefined"==typeof H&&(H="disable"),a.data("multi-color-overlay")&&(D=a.data("multi-color-overlay"),E=a.data("multi-color-overlay-opacity"));var J=overlay_color_html=overlay_pattern_html=overlay_multi_color_html=overlay_pattern_attachment_css="";if("undefined"!=typeof n&&"true"===n.toString()&&(""!=o&&(""!=q&&(q="background-size:"+q+"px;"),"undefined"!=typeof r&&""!=r&&(overlay_pattern_attachment_css="background-attachment:"+r+";"),overlay_pattern_html='
'),""!=m&&(overlay_color_html='
'),""!=D&&(overlay_multi_color_html='
'),J=overlay_color_html+overlay_pattern_html+overlay_multi_color_html),1==I||"enable"==H)if(a.prev().is("p")||a.prev().is("style"))var K=a.prev().prev();else var K=a.prev();else var K=a.prevAll("."+F+":first");K.css("position","relative");var L=K.attr("class");if("browser_size"==j&&(K.wrapInner('
'),a.parent().find(".upb-background-text-wrapper").addClass("full-browser-size"),a.parent().find(".upb-background-text-wrapper").find(".upb-background-text").addClass(L)),"parallax_content_value"==u){K.addClass("vc-row-translate"),K.attr("data-parallax-content-sense",v),K.wrapInner('
');var M=K.css("padding-top"),N=K.css("padding-bottom");K.find(".vc-row-translate-wrapper").css({"padding-top":M,"padding-bottom":N}),K[0].style.setProperty("padding-top","0px","important"),K[0].style.setProperty("padding-bottom","0px","important")}""!=B&&(K.addClass("ult-vc-hide-row"),K.attr("data-hide-row",B)),K.attr("data-rtl",C),K.prepend('
'+J+"
"),a.remove(),d(a,K),a=K,a.attr("data-row-effect-mobile-disable",z),a.attr("data-img-parallax-mobile-disable",A),"fadeout_row_value"==s&&(a.addClass("vc-row-fade"),a.attr("data-fadeout-percentage",t)),a.css("background-image",""),a=a.find(".upb_row_bg"),a.attr("data-upb_br_animation",l),"automatic"!=g?a.css({"background-size":g}):a.addClass("upb_bg_size_automatic"),a.css({"background-repeat":f,"background-position":h,"background-color":e}),"vcpb-fs-jquery"==c||"vcpb-mlvp-jquery"==c?a.attr("data-img-array",b):a.css({"background-image":b,"background-attachment":k}),a.attr("data-parallax_sense",i),a.attr("data-bg-override",j),a.attr("data-bg-animation",w),a.attr("data-bg-animation-type",x),a.attr("data-animation-repeat",y),a.addClass(c);var O=function(){var b,c,d,e,f;if(d=a.parent(),"full"==j&&(d=jQuery("body"),e=0),"ex-full"==j&&(d=jQuery("html"),e=0),!isNaN(j)){for(var g=0;gwh&&(wh=h),a.parent().css("height",wh+"px"),a.parent().find(".upb-background-text-wrapper").css("height",wh+"px")}};O(),jQuery(window).load(function(){O()}),jQuery(window).resize(function(){O()})}),this},jQuery.fn.ultimate_grad_shift=function(){return jQuery(this).each(function(){var a=jQuery(this),b=a.data("grad"),c=(a.data("grad-type"),a.data("grad-custom-degree"),jQuery(this).data("bg-override")),e=a.data("overlay"),f=a.data("overlay-color"),g=a.data("overlay-pattern"),h=a.data("overlay-pattern-opacity"),i=a.data("overlay-pattern-size"),j=a.data("overlay-pattern-attachment"),k=a.data("upb-bg-animation"),l=a.data("fadeout"),m=a.data("fadeout-percentage"),n=a.data("parallax-content"),o=a.data("parallax-content-sense"),p=a.data("row-effect-mobile-disable"),q=a.data("hide-row"),r=a.data("rtl"),s="",t="",u=a.data("custom-vc-row"),v=a.data("vc"),w=a.data("theme-support"),x=a.data("is_old_vc");if("undefined"!=typeof u&&""!==u||(u="wpb_row"),"undefined"==typeof v&&(v=0),"undefined"==typeof x&&(x=!1),"undefined"==typeof w&&(w="disable"),a.data("multi-color-overlay")&&(s=a.data("multi-color-overlay"),t=a.data("multi-color-overlay-opacity")),1==x||"enable"==w)if(a.prev().is("p")||a.prev().is("style"))var y=a.prev().prev();else var y=a.prev();else var y=a.prevAll("."+u+":first");y.css("position","relative");var z=y.attr("class");a.remove();var A=overlay_color_html=overlay_pattern_html=overlay_multi_color_html=overlay_pattern_attachment_css="";if("undefined"!=typeof e&&"true"===e.toString()&&(""!=g&&(""!=i&&(i="background-size:"+i+"px;"),"undefined"!=typeof j&&""!=j&&(overlay_pattern_attachment_css="background-attachment:"+j+";"),overlay_pattern_html='
'),""!=f&&(overlay_color_html='
'),""!=s&&(overlay_multi_color_html='
'),A=overlay_color_html+overlay_pattern_html+overlay_multi_color_html),"browser_size"==c&&(y.wrapInner('
'),y.find(".upb-background-text-wrapper").find(".upb-background-text").addClass(z),y.addClass("full-browser-size")),"parallax_content_value"==n){y.addClass("vc-row-translate"),y.attr("data-parallax-content-sense",o),y.wrapInner('
');var B=y.css("padding-top"),C=y.css("padding-bottom");y.find(".vc-row-translate-wrapper").css({"padding-top":B,"padding-bottom":C}),y[0].style.setProperty("padding-top","0px","important"),y[0].style.setProperty("padding-bottom","0px","important")}""!=q&&(y.addClass("ult-vc-hide-row"),y.attr("data-hide-row",q)),y.attr("data-rtl",r),y.prepend('
'+A+"
"),d(a,y),a=y,a.attr("data-row-effect-mobile-disable",p),"fadeout_row_value"==l&&(a.addClass("vc-row-fade"),a.attr("data-fadeout-percentage",m)),a.css("background-image",""),a=a.find(".upb_row_bg"),a.attr("data-upb_br_animation",k),b=b.replace("url(data:image/svg+xml;base64,","");var D=b.indexOf(";");b=b.substring(D+1),a.attr("style",b),a.attr("data-bg-override",c),"browser_size"==c&&a.parent().find(".upb-background-text-wrapper").addClass("full-browser-size");var E=function(){var b,d,e,f,g;if(e=a.parent(),"full"==c&&(e=jQuery("body"),f=0),"ex-full"==c&&(e=jQuery("html"),f=0),!isNaN(c)){for(var h=0;hwh&&(wh=i),a.parent().css("height",wh+"px"),a.parent().find(".upb-background-text-wrapper").css("height",wh+"px")}};E(),jQuery(window).load(function(){E()}),jQuery(window).resize(function(){E()})}),this},jQuery.fn.ultimate_bg_color_shift=function(){return jQuery(this).each(function(){var a=jQuery(this),b=jQuery(this).data("bg-override"),c=jQuery(this).data("bg-color"),e=a.data("fadeout"),f=a.data("fadeout-percentage"),g=a.data("parallax-content"),h=a.data("parallax-content-sense"),i=a.data("row-effect-mobile-disable"),j=a.data("overlay"),k=a.data("overlay-color"),l=a.data("overlay-pattern"),m=a.data("overlay-pattern-opacity"),n=a.data("overlay-pattern-size"),o=a.data("overlay-pattern-attachment"),p=a.data("hide-row"),q=a.data("rtl"),r="",s="",t=a.data("vc"),u=a.data("theme-support"),v=a.data("custom-vc-row"),w=a.data("is_old_vc");if("undefined"!=typeof v&&""!==v||(v="wpb_row"),"undefined"==typeof t&&(t=0),"undefined"==typeof w&&(w=!1),"undefined"==typeof u&&(u="disable"),a.data("multi-color-overlay")&&(r=a.data("multi-color-overlay"),s=a.data("multi-color-overlay-opacity")),1==w||"enable"==u)if(a.prev().is("p")||a.prev().is("style"))var x=a.prev().prev();else var x=a.prev();else var x=a.prevAll("."+v+":first");x.css("position","relative");var y=x.attr("class"),z=overlay_color_html=overlay_pattern_html=overlay_multi_color_html=overlay_pattern_attachment_css="";if("undefined"!=typeof j&&"true"===j.toString()&&(""!=l&&(""!=n&&(n="background-size:"+n+"px;"),"undefined"!=typeof o&&""!=o&&(overlay_pattern_attachment_css="background-attachment:"+o+";"),overlay_pattern_html='
'),""!=k&&(overlay_color_html='
'),""!=r&&(overlay_multi_color_html='
'),z=overlay_color_html+overlay_pattern_html+overlay_multi_color_html),"browser_size"==b)x.wrapInner('
'),x.find(".upb-background-text-wrapper").find(".upb-background-text").addClass(y);else;if(""!=p&&(x.addClass("ult-vc-hide-row"),x.attr("data-hide-row",p)),x.attr("data-rtl",q),"parallax_content_value"==g){x.addClass("vc-row-translate"),x.wrapInner('
'),x.attr("data-parallax-content-sense",h);var A=x.css("padding-top"),B=x.css("padding-bottom");x.find(".vc-row-translate-wrapper").css({"padding-top":A,"padding-bottom":B}),x[0].style.setProperty("padding-top","0px","important"),x[0].style.setProperty("padding-bottom","0px","important")}x.prepend('
'+z+"
"),d(a,x),a.remove(),a=x,a.attr("data-row-effect-mobile-disable",i),"fadeout_row_value"==e&&(a.addClass("vc-row-fade"),a.attr("data-fadeout-percentage",f)),a.css("background-image",""),a=a.find(".upb_row_bg"),a.css({background:c}),a.attr("data-bg-override",b),"browser_size"==b&&a.parent().find(".upb-background-text-wrapper").addClass("full-browser-size");var C=function(){var c,d,e,f,g;if(e=a.parent(),"full"==b&&(e=jQuery("body"),f=0),"ex-full"==b&&(e=jQuery("html"),f=0),!isNaN(b)){for(var h=0;hwh&&(wh=i),a.parent().css("height",wh+"px"),a.parent().find(".upb-background-text-wrapper").css("height",wh+"px")}};C(),jQuery(window).load(function(){C()}),jQuery(window).resize(function(){C()})}),this},jQuery.fn.ultimate_parallax_animation=function(a){function b(){var b,g=jQuery(window).scrollTop();e.each(function(){if("upb_fade_animation"==jQuery(this).data("upb_br_animation")){b=jQuery(this).offset().top;var e=jQuery(this),h=e.offset().top,i=d(e);if(h+ig+c-100)return;var j=f-g;if(h+i-c
');var l=k.css("padding-top"),m=k.css("padding-bottom");k.find(".vc-row-translate-wrapper").css({"padding-top":l,"padding-bottom":m}),k[0].style.setProperty("padding-top","0px","important"),k[0].style.setProperty("padding-bottom","0px","important")}}),jQuery(".upb_no_bg").remove();var h=function(){jQuery(".upb_row_bg").each(function(){var a,b,c=jQuery(this).data("bg-override"),d=jQuery(this).data("theme-support"),e=jQuery(this).data("row");if(b="undefined"!=typeof d&&"enable"!==d?jQuery(this).parents("."+e+":first"):jQuery(this).parent(),b.addClass("vc_row-has-fill"),"browser_size"==c&&(a=jQuery("html")),"ex-full"==c)a=jQuery("html");else if("full"==c)a=jQuery("body");else if(!isNaN(c)){a=b;for(var f=0;f0&&(left=0),jQuery(this).css({width:i,left:j}),"browser_size"==c){var k=(a.width(),a.height(),b.width(),b.height()),l=b.find(".upb-background-text").height(),m=jQuery(window).height();if(l>k)var n=l;else var n=m;b.css("min-height",n+"px"),b.find(".upb-background-text-wrapper").css("min-height",n+"px")}}),jQuery(".upb_video-bg").each(function(a,b){var c,d,e=jQuery(this).data("bg-override"),f=jQuery(this).attr("data-rtl"),h=jQuery(this).data("theme-support"),i=jQuery(this).data("row");if(d="undefined"!=typeof h&&"enable"!==h?jQuery(this).parents("."+i+":first"):jQuery(this).parent(),"true"==d.attr("data-vc-full-width")||1==d.attr("data-vc-full-width")?d.addClass("uvc-vc-full-width"):d.addClass("uvc-row"),"browser_size"==e)c=jQuery("html"),jQuery(this).parents(".upb_video_class").css("overflow","visible");else if("ex-full"==e)c=jQuery("html"), jQuery(this).parents(".upb_video_class").css("overflow","visible");else if("full"==e)c=jQuery("body"),jQuery(this).parents(".upb_video_class").css("overflow","visible");else if(isNaN(e)||0==e)c=d;else{c=d;for(var j=1;j<=e&&!c.is("html");j++)c=c.parent()}var k=(parseInt(c.css("paddingLeft")),parseInt(c.css("paddingRight")),parseInt(c.css("marginLeft")),c.outerWidth()),l=k,m=jQuery(this).offset().left,n=jQuery(this).position().left,o=c.offset().left,p=o-m;n<0&&(p=n+p),0==a&&(g=n),g>0&&(p=g),p>0&&(p=0),"undefined"==typeof f||f!==!0&&"true"!==f?jQuery(this).css({width:k,"min-width":k,left:p}):jQuery(this).css({width:k,"min-width":k,right:p});var q=16/9,r=(jQuery(window).width(),jQuery(window).height());d.find("video").height();if("browser_size"==e)var s=d.find(".upb_video-text").height();else var s=d.height();if(k<960){var t=16/9*s;k=t+k}pHeight=Math.ceil(k/q),children=jQuery(this).children(),children.removeClass("ult-make-full-height"),s>l&&children.addClass("ult-make-full-height");var u=jQuery(this).css("background-image");if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))"undefined"!=typeof u&&"none"!=u||(children.css({"max-height":"auto",height:"auto"}),d.css("min-height","auto"));else if("browser_size"==e){if(s>r)var v=s;else var v=r;d.addClass("video-browser-size"),d.find(".upb-background-text-wrapper").addClass("full-browser-size"),d.css("min-height",v+"px"),d.find(".upb_video-text-wrapper").length>0&&(d.find(".upb_video-text-wrapper").addClass("full-browser-size"),d.find(".upb_video-text-wrapper").css("min-height",v+"px"))}})};h(),jQuery(window).load(function(){h(),f()}),jQuery(window).resize(function(){h(),f()}),jQuery(document).ajaxComplete(function(a,b,c){jQuery(".upb_content_video, .upb_content_iframe").prev().is("p")?jQuery(".upb_content_video, .upb_content_iframe").prev().prev().css("background-image","").css("background-repeat",""):jQuery(".upb_content_video, .upb_content_iframe").prev().css("background-image","").css("background-repeat",""),jQuery(".upb_content_video").ultimate_video_bg(),jQuery(".upb_bg_img").ultimate_bg_shift(),jQuery(".upb_content_iframe").ultimate_video_bg(),jQuery(".upb_grad").ultimate_grad_shift(),jQuery(".upb_color").ultimate_bg_color_shift()}),jQuery(".video-controls").click(function(a){var b=jQuery(this).attr("data-action"),c=jQuery(this).parent().find(".upb_video-src");"pause"==b?(jQuery(this).attr("data-action","play"),c[0].play(),jQuery(this).html('')):(jQuery(this).attr("data-action","pause"),c[0].pause(),jQuery(this).html('')),c.hasClass("enable-on-viewport")&&c.addClass("override-controls")}),e(),f(),jQuery(".vcpb-animated").each(function(a,b){var c=jQuery(b).data("animation-repeat");jQuery(this).css({"background-repeat":c});var d=jQuery(b).parent().attr("data-img-parallax-mobile-disable");if(d="undefined"==typeof d?"false":d.toString(),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))var e="true";else var e="false";if("true"==e&&"true"==d)var f="true";else var f="false";if("false"==f){var g=10;""!=jQuery(this).attr("data-parallax_sense")&&(g=jQuery(this).attr("data-parallax_sense")),g=100-g;var h=jQuery(this).attr("data-bg-animation-type"),i=jQuery(this).attr("data-bg-animation"),j=0,k=h;setInterval(function(a){"right-animation"==i||"bottom-animation"==i?j-=1:j+=1,jQuery(b).css("backgroundPosition","h"==k?j+"px 0":"0 "+j+"px")},g)}})})}(jQuery),function(a,b,c){function d(){a(".ult-content-box").each(function(c,d){var f=a(d).css("background-color")||"",i=a(d).data("border_color")||"transparent",j=a(d).css("box-shadow")||"",k=a(d).data("hover_bg_color")||a(d).css("background-color"),l=a(d).data("hover_border_color")||"transparent",m=a(d).data("hover_box_shadow")||a(d).css("box-shadow");a(d).hover(function(){a(d).css("background-color",k),a(d).css("border-color",l),a(d).css("box-shadow",m)},function(){a(d).css("background-color",f),a(d).css("border-color",i),a(d).css("box-shadow",j)});var n={},o=a(d).data("responsive_margins");"undefined"!=typeof o&&null!=o&&(n=g(o));var p={},q=a(d).data("normal_margins");p="undefined"!=typeof q&&null!=q?g(q):e(d);var r=a(b).width()||"";""!=r&&(r>=768?h(p,d):h(n,d))})}function e(b){var c={};c["margin-left"]=f(a(b).css("margin-left")),c["margin-right"]=f(a(b).css("margin-right")),c["margin-top"]=f(a(b).css("margin-top")),c["margin-bottom"]=f(a(b).css("margin-bottom"));var d="";return a.each(c,function(a,b){"undefined"!=typeof b&&null!=b&&(d+=a+":"+b+"px;")}),a(b).attr("data-normal_margins",d),c}function f(a){var b;return"undefined"!=typeof a&&null!=a&&(b=a.split("px"),b=parseInt(b[0])),b}function g(b){var d={},e=b.split(";");return"undefined"!=typeof e&&null!=e&&a.each(e,function(a,b){if(typeof b!=c&&null!=b){var e=b.split(":");if(typeof e[0]!=c&&null!=e[0]&&typeof e[1]!=c&&null!=e[1])switch(e[0]){case"margin":d.margin=e[1];break;case"margin-left":d["margin-left"]=e[1];break;case"margin-right":d["margin-right"]=e[1];break;case"margin-top":d["margin-top"]=e[1];break;case"margin-bottom":d["margin-bottom"]=e[1]}}}),d}function h(b,c){a.isEmptyObject(b)||a.each(b,function(b,d){"undefined"!=typeof d&&null!=d&&a(c).css(b,d)})}jQuery(b).load(function(a){d()}),jQuery(b).resize(function(a){d()}),jQuery(document).ready(function(a){d()})}(jQuery,window),jQuery(window).load(function(){var a=function(){var a="",b="",c="",d="",e="",f="";jQuery(".ult-responsive").each(function(g,h){var i=jQuery(h),j=i.attr("data-responsive-json-new"),k=i.data("ultimate-target"),l="",m="",n="",o="",p="",q="";"undefined"==typeof j&&null==j||jQuery.each(jQuery.parseJSON(j),function(a,b){var c=a;if("undefined"!=typeof b&&null!=b){var d=b.split(";");jQuery.each(d,function(a,b){if("undefined"!=typeof b||null!=b){var d=b.split(":");switch(d[0]){case"large_screen":l+=c+":"+d[1]+";";break;case"desktop":m+=c+":"+d[1]+";";break;case"tablet":n+=c+":"+d[1]+";";break;case"tablet_portrait":o+=c+":"+d[1]+";";break;case"mobile_landscape":p+=c+":"+d[1]+";";break;case"mobile":q+=c+":"+d[1]+";"}}})}}),""!=q&&(f+=k+"{"+q+"}"),""!=p&&(e+=k+"{"+p+"}"),""!=o&&(d+=k+"{"+o+"}"),""!=n&&(c+=k+"{"+n+"}"),""!=m&&(b+=k+"{"+m+"}"),""!=l&&(a+=k+"{"+l+"}")});var g="",jQuery("head").append(g)};a(),jQuery(".ult_countdown-dateAndTime").each(function(){var a=new Date(jQuery(this).html()),b=(60*jQuery(this).data("time-zone"),jQuery(this).data("countformat")),c=jQuery(this).data("labels"),d=c.split(","),e=jQuery(this).data("labels2"),f=e.split(","),g=function(){return new Date(jQuery(this).data("time-now"))},h=function(a){var b=jQuery(".ult_countdown-dateAndTime").attr("data-responsive-json-new"),c=jQuery(".ult_countdown-dateAndTime").attr("data-ultimate-target"),d=jQuery(".ult_countdown").attr("data-responsive-json-new"),e=jQuery(".ult_countdown").attr("data-ultimate-target");jQuery(".ult_countdown-period").addClass("ult-responsive"),jQuery(this).find(".ult_countdown-amount").attr({"data-ultimate-target":c,"data-responsive-json-new":b}),jQuery(this).find(".ult_countdown-period").attr({"data-ultimate-target":e,"data-responsive-json-new":d}),jQuery(this).find(".ult_countdown-amount").css({color:jQuery(this).data("tick-col")}),jQuery(this).find(".ult_countdown-amount").addClass("ult-responsive"),jQuery(this).find(".ult_countdown-period").css({"font-size":jQuery(this).data("tick-p-size"),color:jQuery(this).data("tick-p-col")}),jQuery(this).find(".ult_countdown-amount").css({"border-color":jQuery(this).data("br-color"),"border-width":jQuery(this).data("br-size"),"border-style":jQuery(this).data("br-style"),"border-radius":jQuery(this).data("br-radius"),background:jQuery(this).data("bg-color"),padding:jQuery(this).data("padd")}),"bold"==jQuery(this).data("tick-style")?jQuery(this).find(".ult_countdown-amount").css("font-weight","bold"):"italic"==jQuery(this).data("tick-style")?jQuery(this).find(".ult_countdown-amount").css("font-style","italic"):"boldnitalic"==jQuery(this).data("tick-style")&&(jQuery(this).find(".ult_countdown-amount").css("font-weight","bold"),jQuery(this).find(".ult_countdown-amount").css("font-style","italic")),"bold"==jQuery(this).data("tick-p-style")?jQuery(this).find(".ult_countdown-period").css("font-weight","bold"):"italic"==jQuery(this).data("tick-p-style")?jQuery(this).find(".ult_countdown-period").css("font-style","italic"):"boldnitalic"==jQuery(this).data("tick-p-style")&&(jQuery(this).find(".ult_countdown-period").css("font-weight","bold"),jQuery(this).find(".ult_countdown-period").css("font-style","italic"))};jQuery(this).hasClass("ult-usrtz")?jQuery(this).ult_countdown({labels:d,labels1:f,until:a,format:b,padZeroes:!0,onTick:h}):jQuery(this).ult_countdown({labels:d,labels1:f,until:a,format:b,padZeroes:!0,onTick:h,serverSync:g})})}),function(){var a=!1;window.JQClass=function(){},JQClass.classes={},JQClass.extend=function b(c){function d(){!a&&this._init&&this._init.apply(this,arguments)}var e=this.prototype;a=!0;var f=new this;a=!1;for(var g in c)f[g]="function"==typeof c[g]&&"function"==typeof e[g]?function(a,b){return function(){var c=this._super;this._super=function(b){return e[a].apply(this,b)};var d=b.apply(this,arguments);return this._super=c,d}}(g,c[g]):c[g];return d.prototype=f,d.prototype.constructor=d,d.extend=b,d}}(),function($){function camelCase(a){return a.replace(/-([a-z])/g,function(a,b){return b.toUpperCase()})}JQClass.classes.JQPlugin=JQClass.extend({name:"plugin",defaultOptions:{},regionalOptions:{},_getters:[],_getMarker:function(){return"is-"+this.name},_init:function(){$.extend(this.defaultOptions,this.regionalOptions&&this.regionalOptions[""]||{});var a=camelCase(this.name);$[a]=this,$.fn[a]=function(b){var c=Array.prototype.slice.call(arguments,1);return $[a]._isNotChained(b,c)?$[a][b].apply($[a],[this[0]].concat(c)):this.each(function(){if("string"==typeof b){if("_"===b[0]||!$[a][b])throw"Unknown method: "+b;$[a][b].apply($[a],[this].concat(c))}else $[a]._attach(this,b)})}},setDefaults:function(a){$.extend(this.defaultOptions,a||{})},_isNotChained:function(a,b){return"option"===a&&(0===b.length||1===b.length&&"string"==typeof b[0])||$.inArray(a,this._getters)>-1},_attach:function(a,b){if(a=$(a),!a.hasClass(this._getMarker())){a.addClass(this._getMarker()),b=$.extend({},this.defaultOptions,this._getMetadata(a),b||{});var c=$.extend({name:this.name,elem:a,options:b},this._instSettings(a,b));a.data(this.name,c),this._postAttach(a,c),this.option(a,b)}},_instSettings:function(a,b){return{}},_postAttach:function(a,b){},_getMetadata:function(d){try{var f=d.data(this.name.toLowerCase())||"";f=f.replace(/'/g,'"'),f=f.replace(/([a-zA-Z0-9]+):/g,function(a,b,c){var d=f.substring(0,c).match(/"/g);return d&&d.length%2!==0?b+":":'"'+b+'":'}),f=$.parseJSON("{"+f+"}");for(var g in f){var h=f[g];"string"==typeof h&&h.match(/^new Date\((.*)\)$/)&&(f[g]=eval(h))}return f}catch(e){return{}}},_getInst:function(a){return $(a).data(this.name)||{}},option:function(a,b,c){a=$(a);var d=a.data(this.name);if(!b||"string"==typeof b&&null==c){var e=(d||{}).options;return e&&b?e[b]:e}if(a.hasClass(this._getMarker())){var e=b||{};"string"==typeof b&&(e={},e[b]=c),this._optionsChanged(a,d,e),$.extend(d.options,e)}},_optionsChanged:function(a,b,c){},destroy:function(a){a=$(a),a.hasClass(this._getMarker())&&(this._preDestroy(a,this._getInst(a)),a.removeData(this.name).removeClass(this._getMarker()))},_preDestroy:function(a,b){}}),$.JQPlugin={createPlugin:function(a,b){"object"==typeof a&&(b=a,a="JQPlugin"),a=camelCase(a);var c=camelCase(b.name);JQClass.classes[c]=JQClass.classes[a].extend(b),new JQClass.classes[c]}}}(jQuery),function(a){var b="ult_countdown",c=0,d=1,e=2,f=3,g=4,h=5,i=6;a.JQPlugin.createPlugin({name:b,defaultOptions:{until:null,since:null,timezone:null,serverSync:null,format:"dHMS",layout:"",compact:!1,padZeroes:!1,significant:0,description:"",expiryUrl:"",expiryText:"",alwaysExpire:!1,onExpiry:null,onTick:null,tickInterval:1},regionalOptions:{"":{labels:["Years","Months","Weeks","Days","Hours","Minutes","Seconds"],labels1:["Year","Month","Week","Day","Hour","Minute","Second"],compactLabels:["y","m","w","d"],whichLabels:null,digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:!1}},_getters:["getTimes"],_rtlClass:b+"-rtl",_sectionClass:b+"-section",_amountClass:b+"-amount",_periodClass:b+"-period",_rowClass:b+"-row",_holdingClass:b+"-holding",_showClass:b+"-show",_descrClass:b+"-descr",_timerElems:[],_init:function(){function b(a){var h=a<1e12?e?performance.now()+performance.timing.navigationStart:d():a||d();h-g>=1e3&&(c._updateElems(),g=h),f(b)}var c=this;this._super(),this._serverSyncs=[];var d="function"==typeof Date.now?Date.now:function(){return(new Date).getTime()},e=window.performance&&"function"==typeof window.performance.now,f=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||null,g=0;!f||a.noRequestAnimationFrame?(a.noRequestAnimationFrame=null,setInterval(function(){c._updateElems()},980)):(g=window.animationStartTime||window.webkitAnimationStartTime||window.mozAnimationStartTime||window.oAnimationStartTime||window.msAnimationStartTime||d(),f(b))},UTCDate:function(a,b,c,d,e,f,g,h){"object"==typeof b&&b.constructor==Date&&(h=b.getMilliseconds(),g=b.getSeconds(),f=b.getMinutes(),e=b.getHours(),d=b.getDate(),c=b.getMonth(),b=b.getFullYear());var i=new Date;return i.setUTCFullYear(b),i.setUTCDate(1),i.setUTCMonth(c||0),i.setUTCDate(d||1),i.setUTCHours(e||0),i.setUTCMinutes((f||0)-(Math.abs(a)<30?60*a:a)),i.setUTCSeconds(g||0),i.setUTCMilliseconds(h||0),i},periodsToSeconds:function(a){return 31557600*a[0]+2629800*a[1]+604800*a[2]+86400*a[3]+3600*a[4]+60*a[5]+a[6]},_instSettings:function(a,b){return{_periods:[0,0,0,0,0,0,0]}},_addElem:function(a){this._hasElem(a)||this._timerElems.push(a)},_hasElem:function(b){return a.inArray(b,this._timerElems)>-1},_removeElem:function(b){this._timerElems=a.map(this._timerElems,function(a){return a==b?null:a})},_updateElems:function(){for(var a=this._timerElems.length-1;a>=0;a--)this._updateCountdown(this._timerElems[a])},_optionsChanged:function(b,c,d){d.layout&&(d.layout=d.layout.replace(/</g,"<").replace(/>/g,">")),this._resetExtraLabels(c.options,d);var e=c.options.timezone!=d.timezone;a.extend(c.options,d),this._adjustSettings(b,c,null!=d.until||null!=d.since||e);var f=new Date;(c._since&&c._sincef)&&this._addElem(b[0]),this._updateCountdown(b,c)},_updateCountdown:function(b,c){if(b=b.jquery?b:a(b),c=c||b.data(this.name)){if(b.html(this._generateHTML(c)).toggleClass(this._rtlClass,c.options.isRTL),a.isFunction(c.options.onTick)){var d="lap"!=c._hold?c._periods:this._calculatePeriods(c,c._show,c.options.significant,new Date);1!=c.options.tickInterval&&this.periodsToSeconds(d)%c.options.tickInterval!=0||c.options.onTick.apply(b[0],[d])}var e="pause"!=c._hold&&(c._since?c._now.getTime()=c._until.getTime());if(e&&!c._expiring){if(c._expiring=!0,this._hasElem(b[0])||c.options.alwaysExpire){if(this._removeElem(b[0]),a.isFunction(c.options.onExpiry)&&c.options.onExpiry.apply(b[0],[]),c.options.expiryText){var f=c.options.layout;c.options.layout=c.options.expiryText,this._updateCountdown(b[0],c),c.options.layout=f}c.options.expiryUrl&&(window.location=c.options.expiryUrl)}c._expiring=!1}else"pause"==c._hold&&this._removeElem(b[0])}},_resetExtraLabels:function(a,b){var c=!1;for(var d in b)if("whichLabels"!=d&&d.match(/[Ll]abels/)){c=!0;break}if(c)for(var d in a)d.match(/[Ll]abels[02-9]|compactLabels1/)&&(a[d]=null)},_adjustSettings:function(b,c,d){for(var e,f=0,g=null,h=0;h0,n[o]="?"!=b._show[o]||k?b._show[o]:null,l+=n[o]?1:0,m-=b._periods[o]>0?1:0;for(var p=[!1,!1,!1,!1,!1,!1,!1],o=i;o>=c;o--)b._show[o]&&(b._periods[o]?p[o]=!0:(p[o]=m>0,m--));var q=b.options.compact?b.options.compactLabels:b.options.labels,r=b.options.whichLabels||this._normalLabels,s=function(a){var c=b.options["compactLabels"+r(b._periods[a])];return n[a]?j._translateDigits(b,b._periods[a])+(c?c[a]:q[a])+" ":""},t=b.options.padZeroes?2:1,u=function(a){var c=b.options["labels"+r(b._periods[a])];return!b.options.significant&&n[a]||b.options.significant&&p[a]?''+j._minDigits(b,b._periods[a],t)+''+(c?c[a]:q[a])+"":""};return b.options.layout?this._buildLayout(b,n,b.options.layout,b.options.compact,b.options.significant,p):(b.options.compact?''+s(c)+s(d)+s(e)+s(f)+(n[g]?this._minDigits(b,b._periods[g],2):"")+(n[h]?(n[g]?b.options.timeSeparator:"")+this._minDigits(b,b._periods[h],2):"")+(n[i]?(n[g]||n[h]?b.options.timeSeparator:"")+this._minDigits(b,b._periods[i],2):""):''+u(c)+u(d)+u(e)+u(f)+u(g)+u(h)+u(i))+""+(b.options.description?''+b.options.description+"":"")},_buildLayout:function(b,j,k,l,m,n){for(var o=b.options[l?"compactLabels":"labels"],p=b.options.whichLabels||this._normalLabels,q=function(a){return(b.options[(l?"compactLabels":"labels")+p(b._periods[a])]||o)[a]},r=function(a,c){return b.options.digits[Math.floor(a/c)%10]},s={desc:b.options.description,sep:b.options.timeSeparator,yl:q(c),yn:this._minDigits(b,b._periods[c],1),ynn:this._minDigits(b,b._periods[c],2),ynnn:this._minDigits(b,b._periods[c],3),y1:r(b._periods[c],1),y10:r(b._periods[c],10),y100:r(b._periods[c],100),y1000:r(b._periods[c],1e3),ol:q(d),on:this._minDigits(b,b._periods[d],1),onn:this._minDigits(b,b._periods[d],2),onnn:this._minDigits(b,b._periods[d],3),o1:r(b._periods[d],1),o10:r(b._periods[d],10),o100:r(b._periods[d],100),o1000:r(b._periods[d],1e3),wl:q(e),wn:this._minDigits(b,b._periods[e],1),wnn:this._minDigits(b,b._periods[e],2),wnnn:this._minDigits(b,b._periods[e],3),w1:r(b._periods[e],1),w10:r(b._periods[e],10),w100:r(b._periods[e],100),w1000:r(b._periods[e],1e3),dl:q(f),dn:this._minDigits(b,b._periods[f],1),dnn:this._minDigits(b,b._periods[f],2),dnnn:this._minDigits(b,b._periods[f],3),d1:r(b._periods[f],1),d10:r(b._periods[f],10),d100:r(b._periods[f],100),d1000:r(b._periods[f],1e3),hl:q(g),hn:this._minDigits(b,b._periods[g],1),hnn:this._minDigits(b,b._periods[g],2),hnnn:this._minDigits(b,b._periods[g],3),h1:r(b._periods[g],1),h10:r(b._periods[g],10),h100:r(b._periods[g],100),h1000:r(b._periods[g],1e3),ml:q(h),mn:this._minDigits(b,b._periods[h],1),mnn:this._minDigits(b,b._periods[h],2),mnnn:this._minDigits(b,b._periods[h],3),m1:r(b._periods[h],1),m10:r(b._periods[h],10),m100:r(b._periods[h],100),m1000:r(b._periods[h],1e3),sl:q(i),sn:this._minDigits(b,b._periods[i],1),snn:this._minDigits(b,b._periods[i],2),snnn:this._minDigits(b,b._periods[i],3),s1:r(b._periods[i],1),s10:r(b._periods[i],10),s100:r(b._periods[i],100),s1000:r(b._periods[i],1e3)},t=k,u=c;u<=i;u++){var v="yowdhms".charAt(u),w=new RegExp("\\{"+v+"<\\}([\\s\\S]*)\\{"+v+">\\}","g");t=t.replace(w,!m&&j[u]||m&&n[u]?"$1":"")}return a.each(s,function(a,b){var c=new RegExp("\\{"+a+"\\}","g");t=t.replace(c,b)}),t},_minDigits:function(a,b,c){return b=""+b,b.length>=c?this._translateDigits(a,b):(b="0000000000"+b,this._translateDigits(a,b.substr(b.length-c)))},_translateDigits:function(a,b){return(""+b).replace(/[0-9]/g,function(b){return a.options.digits[b]})},_determineShow:function(a){var b=a.options.format,j=[];return j[c]=b.match("y")?"?":b.match("Y")?"!":null,j[d]=b.match("o")?"?":b.match("O")?"!":null,j[e]=b.match("w")?"?":b.match("W")?"!":null,j[f]=b.match("d")?"?":b.match("D")?"!":null,j[g]=b.match("h")?"?":b.match("H")?"!":null,j[h]=b.match("m")?"?":b.match("M")?"!":null,j[i]=b.match("s")?"?":b.match("S")?"!":null,j},_calculatePeriods:function(a,b,j,k){a._now=k,a._now.setMilliseconds(0);var l=new Date(a._now.getTime());a._since?k.getTime()a._until.getTime()&&(a._now=k=l));var m=[0,0,0,0,0,0,0];if(b[c]||b[d]){var n=this._getDaysInMonth(k.getFullYear(),k.getMonth()),o=this._getDaysInMonth(l.getFullYear(),l.getMonth()),p=l.getDate()==k.getDate()||l.getDate()>=Math.min(n,o)&&k.getDate()>=Math.min(n,o),q=function(a){return 60*(60*a.getHours()+a.getMinutes())+a.getSeconds()},r=Math.max(0,12*(l.getFullYear()-k.getFullYear())+l.getMonth()-k.getMonth()+(l.getDate()t&&k.setDate(t),k.setFullYear(k.getFullYear()+m[c]),k.setMonth(k.getMonth()+m[d]),s&&k.setDate(t)}var u=Math.floor((l.getTime()-k.getTime())/1e3),v=function(a,c){m[a]=b[a]?Math.floor(u/c):0,u-=m[a]*c};if(v(e,604800),v(f,86400),v(g,3600),v(h,60),v(i,1),u>0&&!a._since)for(var w=[1,12,4.3482,7,24,60,60],x=i,y=1,z=i;z>=c;z--)b[z]&&(m[x]>=y&&(m[x]=0,u=1),u>0&&(m[z]++,u=0,x=z,y=1)),y*=w[z];if(j)for(var z=c;z<=i;z++)j&&m[z]?j--:j||(m[z]=0);return m}})}(jQuery),jQuery(document).ready(function(){jQuery(".ult_colorlink").hover(function(){var a=jQuery(this).data("style");if("Style_6"==a){var b=jQuery(this).find(".ult_btn6_link_top").data("color");jQuery(this).find(".ult_btn6_link_top").css("text-shadow","10px 0 "+b+", -10px 0 "+b),jQuery(this).find(".ult_btn6_link_top").css("color",b)}if("Style_10"==a){var c=jQuery(this).find(".ult_btn10_span").data("bhover"),d=jQuery(this).find(".ult_btn10_span").data("bstyle");" "!=d&&(jQuery(this).find(".ult_btn10_span").css("border-top-style","solid"),jQuery(this).find(".ult_btn10_span").css("border-top-color",c))}var e=jQuery(this).data("texthover"),f=jQuery(this).data("bghover");jQuery(this).css("color",e),jQuery(this).find(".ult_btn10_span").css("color",e),"Style_2"==a&&jQuery(this).find(".ult_btn10_span").css("background",f)},function(){var a=jQuery(this).data("style");if("Style_6"==a&&jQuery(this).find(".ult_btn6_link_top").removeAttr("style"),"Style_10"==a){var b=jQuery(this).find(".ult_btn10_span").data("color"),c=jQuery(this).find(".ult_btn10_span").data("bstyle");" "!=c&&(jQuery(this).find(".ult_btn10_span").css("border-top-style",c),jQuery(this).find(".ult_btn10_span").css("border-top-color",b))}var d=jQuery(this).data("textcolor"),e=jQuery(this).data("bgcolor");jQuery(this).css("color",d),jQuery(this).find(".ult_btn10_span").css("color",d),"Style_2"==a&&jQuery(this).find(".ult_btn10_span").css("background",e)})}),jQuery(window).load(function(){ult_creative_link_ht()}),jQuery(document).ready(function(a){ult_creative_link_ht()}),jQuery(window).resize(function(a){ult_creative_link_ht()}),function(a){"use strict";function b(a,b,c){if("img"===c){var d=parseInt(b.outerHeight()),e=d/2;a.css("padding-top",e+"px"),a.parent().css("margin-top",e+20+"px"),b.css("top",-d+"px")}else{var d=parseInt(b.outerHeight()),e=d/2;a.css("padding-top",e+"px"),a.parent().css("margin-top",e+20+"px"),b.css("top",-d+"px")}}function c(b){b.find(".timeline-icon-block").length>0&&a(".timeline-block").each(function(b,c){var d=a(this).find(".timeline-header-block"),e=a(this).find(".timeline-icon-block");e.css({position:"absolute"});var f=e.outerHeight(),g=e.outerWidth(),h=-(g/2),i=parseInt(d.find(".timeline-header").css("padding-left").replace(/[^\d.]/g,""));a(this).hasClass("timeline-post-left")?(e.css({left:h,right:"auto"}),d.css({"padding-left":g/2+i+"px"})):a(this).hasClass("timeline-post-right")&&(e.css({left:"auto",right:h}),d.css({"padding-right":g/2+i+"px"}));var j=d.height(),k=j/2,l=f/2,m=k-l;e.css({top:m});var n=e.offset().left,o=a(window).width();(0>n||o=e?c.find(".ult-new-ib-content").hide():c.find(".ult-new-ib-content").show()}})}function g(){var b="";a(".ult-spacer").each(function(c,d){var e=a(d).data("id"),f=(a("body").width(),a(d).data("height-mobile")),g=a(d).data("height-mobile-landscape"),h=a(d).data("height-tab"),i=a(d).data("height-tab-portrait"),j=a(d).data("height");""!=j&&(b+=" .spacer-"+e+" { height:"+j+"px } "),""==h&&"0"!=h&&0!=h||(b+=" @media (max-width: 1199px){ .spacer-"+e+" { height:"+h+"px }} "),"undefined"==typeof i||""==i&&"0"!=i&&0!=i||(b+=" @media (max-width: 991px){ .spacer-"+e+" { height:"+i+"px }} "),"undefined"==typeof g||""==g&&"0"!=g&&0!=g||(b+=" @media (max-width: 767px){ .spacer-"+e+" { height:"+g+"px }} "),""==f&&"0"!=f&&0!=f||(b+=" @media (max-width: 479px){ .spacer-"+e+" { height:"+f+"px }} ")}),""!=b&&(b="",a("head").append(b))}a.fn.vc_translate_row=function(){var b=a(window).scrollTop(),c=a(window).height();a(this).each(function(d,e){var f=a(e).attr("data-row-effect-mobile-disable");if(f="undefined"==typeof f?"false":f.toString(),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))var g="true";else var g="false";if("true"==g&&"true"==f)var h="true";else var h="false";if("false"==h){var i=0,j=a(e).outerHeight(),k=a(e).offset().top,l=k-b,m=l+j,n=a(e).attr("data-parallax-content-sense"),o=n/100,p=0,q=c-c*(i/100);if(m<=q&&l<=0){if(j>c)var p=(c-m)*o;else var p=-(l*o);p<0&&(p=0)}else p=0;var r=".upb_row_bg,.upb_video-wrapper,.ult-vc-seperator,.ult-easy-separator-wrapper";a(e).find(".vc-row-translate-wrapper").children().each(function(b,c){jQuery(c).is(r)||a(c).css({transform:"translate3d(0,"+p+"px,0)","-webkit-transform":"translate3d(0,"+p+"px,0)","-ms-transform":"translate3d(0,"+p+"px,0)"})})}})},a.fn.vc_fade_row=function(){var b=a(window).scrollTop(),c=a(window).height();a(this).each(function(d,e){var f=a(e).attr("data-row-effect-mobile-disable");if(f="undefined"==typeof f?"false":f.toString(),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))var g="true";else var g="false";if("true"==g&&"true"==f)var h="true";else var h="false";if("false"==h){var i=0,j=a(e).data("fadeout-percentage");j=100-j;var k=a(e).outerHeight(),l=a(e).offset().top,m=l-b,n=m+k,o=1,p=c-c*(j/100),q=(p-n)/p*(1-i);q>0&&(o=1-q),n<=p?(o1&&(o=1),a(e).children().each(function(b,c){var d=".upb_row_bg,.upb_video-wrapper,.ult-vc-seperator";a(c).is(d)||a(c).css({opacity:o})})):a(e).children().each(function(b,c){a(c).css({opacity:o})})}})},jQuery(document).ready(function(){g()}),jQuery(window).scroll(function(){var b=jQuery(".ult-no-mobile").length;/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&b>=1?jQuery(".ult-animation").css("opacity",1):d(),a(".vc-row-fade").vc_fade_row(),a(".vc-row-translate").vc_translate_row()}),jQuery(window).load(function(){jQuery(".ult-banner-block-custom-height").each(function(a,b){var c=jQuery(this).find("img"),d=jQuery(this).width(),e=jQuery(this).height();c.width();d>e&&c.css({width:"100%",height:"auto"})});var b=0,d=0,e=function(){jQuery(".ifb-jq-height").each(function(){jQuery(this).find(".ifb-back").css("height","auto"), jQuery(this).find(".ifb-front").css("height","auto");var a=parseInt(jQuery(this).find(".ifb-front > div").outerHeight(!0)),b=parseInt(jQuery(this).find(".ifb-back > div").outerHeight(!0)),c=a>b?a:b;jQuery(this).find(".ifb-front").css("height",c+"px"),jQuery(this).find(".ifb-back").css("height",c+"px"),jQuery(this).hasClass("vertical_door_flip")?jQuery(this).find(".ifb-flip-box").css("height",c+"px"):jQuery(this).hasClass("horizontal_door_flip")?jQuery(this).find(".ifb-flip-box").css("height",c+"px"):jQuery(this).hasClass("style_9")&&jQuery(this).find(".ifb-flip-box").css("height",c+"px")}),jQuery(".ifb-auto-height").each(function(){if(jQuery(this).hasClass("horizontal_door_flip")||jQuery(this).hasClass("vertical_door_flip")){var a=parseInt(jQuery(this).find(".ifb-front > div").outerHeight()),b=parseInt(jQuery(this).find(".ifb-back > div").outerHeight()),c=a>b?a:b;jQuery(this).find(".ifb-flip-box").css("height",c+"px")}})};navigator.userAgent.indexOf("Safari")!=-1&&navigator.userAgent.indexOf("Chrome")==-1?setTimeout(function(){e()},500):e(),jQuery(document).on("ultAdvancedTabClicked",function(a,b){e()}),jQuery(window).resize(function(){b++,setTimeout(function(){d++,b==d&&e()},500)});var g=0;jQuery(window).resize(function(){f(),jQuery(".csstime.smile-icon-timeline-wrap").each(function(){c(jQuery(this))}),a(".jstime .timeline-wrapper").each(function(){c(jQuery(this))}),"none"==jQuery(".smile-icon-timeline-wrap.jstime .timeline-line").css("display")?0===g&&(a(".jstime .timeline-wrapper").masonry("destroy"),g=1):1==g&&(jQuery(".jstime .timeline-wrapper").masonry({itemSelector:".timeline-block"}),setTimeout(function(){jQuery(".jstime .timeline-wrapper").masonry({itemSelector:".timeline-block",width:"401px"}),jQuery(this).find(".timeline-block").each(function(){jQuery(this).css("left","initial"),"0px"==jQuery(this).css("left")?jQuery(this).addClass("timeline-post-left"):jQuery(this).addClass("timeline-post-right")}),g=0},300))}),a(".smile-icon-timeline-wrap").each(function(){var b=jQuery(this).data("timeline-cutom-width");b&&jQuery(this).css("width",2*b+40+"px");var d=parseInt(jQuery(this).width()),e=parseInt(jQuery(this).find(".timeline-block").width()),f=d-2*e-40;f=f/d*100,a(".jstime .timeline-wrapper").each(function(){jQuery(this).masonry({itemSelector:".timeline-block"})}),setTimeout(function(){a(".jstime .timeline-wrapper").each(function(){jQuery(this).find(".timeline-block").each(function(){"0px"==jQuery(this).css("left")?jQuery(this).addClass("timeline-post-left"):jQuery(this).addClass("timeline-post-right"),c(jQuery(this))}),jQuery(".timeline-block").each(function(){var a=parseInt(jQuery(this).css("top"))-parseInt(jQuery(this).next().css("top"));a<14&&a>0||0==a?jQuery(this).next().addClass("time-clash-right"):a>-14&&jQuery(this).next().addClass("time-clash-left")})}),jQuery(".timeline-post-right").each(function(){var a=jQuery(this).find(".timeline-icon-block").clone();jQuery(this).find(".timeline-icon-block").remove(),jQuery(this).find(".timeline-header-block").after(a)}),jQuery(".smile-icon-timeline-wrap").each(function(){var a=jQuery(this).data("time_block_bg_color");jQuery(this).find(".timeline-block").css("background-color",a),jQuery(this).find(".timeline-post-left.timeline-block l").css("border-left-color",a),jQuery(this).find(".timeline-post-right.timeline-block l").css("border-right-color",a),jQuery(this).find(".feat-item").css("background-color",a),jQuery(this).find(".feat-item").find(".feat-top").length>0?jQuery(this).find(".feat-item l").css("border-top-color",a):jQuery(this).find(".feat-item l").css("border-bottom-color",a)}),jQuery(".jstime.timeline_preloader").remove(),jQuery(".smile-icon-timeline-wrap.jstime").css("opacity","1")},1e3),jQuery(this).find(".timeline-wrapper").each(function(){""===jQuery(this).text().trim()&&jQuery(this).remove()}),jQuery(this).find(".timeline-line ").next().hasClass("timeline-separator-text")||jQuery(this).find(".timeline-line").prepend("");var g=jQuery(this).data("time_sep_color"),h=jQuery(this).data("time_sep_bg_color"),i=jQuery(".smile-icon-timeline-wrap .timeline-line").css("border-right-color");jQuery(this).find(".timeline-dot").css("background-color",h),jQuery(this).find(".timeline-line z").css("background-color",h),jQuery(this).find(".timeline-line o").css("background-color",h),jQuery(this).find(".timeline-separator-text").css("color",g),jQuery(this).find(".timeline-separator-text .sep-text").css("background-color",h),jQuery(this).find(".ult-timeline-arrow s").css("border-color","rgba(255, 255, 255, 0) "+i),jQuery(this).find(".feat-item .ult-timeline-arrow s").css("border-color",i+" rgba(255, 255, 255, 0)"),jQuery(this).find(".timeline-block").css("border-color",i),jQuery(this).find(".feat-item").css("border-color",i)})}),jQuery(document).ready(function(a){var e=jQuery(".ult-no-mobile").length;/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&e>=1?jQuery(".ult-animation").css("opacity",1):d(),f(),jQuery(".ubtn").hover(function(){var a=jQuery(this);a.find(".ubtn-text").css("color",a.data("hover")),a.find(".ubtn-hover").css("background",a.data("hover-bg")).addClass("ubtn-hover-active");var b=""!=a.data("hover-bg")&&a.data("hover-bg");setTimeout(function(){b!==!1&&a.hasClass(".ubtn-fade-bg")&&a.css("background",a.data("hover-bg"))},150);var c=a.attr("style");if(""!=a.data("shadow-hover")){a.css("box-shadow");c+="box-shadow:"+a.data("shadow-hover")}if(a.attr("style",c),""!=a.data("border-hover")&&a.css("border-color",a.data("border-hover")),"none"!=a.data("shadow-click")){var d=a.data("shd-shadow")-3;""!=a.is(".shd-left")?a.css({right:d}):""!=a.is(".shd-right")?a.css({left:d}):""!=a.is(".shd-top")?a.css({bottom:d}):""!=a.is(".shd-bottom")&&a.css({top:d})}},function(){var a=jQuery(this);a.find(".ubtn-text").removeAttr("style"),a.find(".ubtn-hover").removeClass("ubtn-hover-active"),a.css("background",a.data("bg"));var b=a.data("border-color"),c=a.attr("style");""!=a.data("shadow-hover")&&(c+="box-shadow:"+a.data("shadow")),a.attr("style",c),""!=a.data("border-hover")&&a.css("border-color",b),"none"!=a.data("shadow-click")&&(a.removeClass("no-ubtn-shadow"),""!=a.is(".shd-left")?a.css({right:"auto"}):""!=a.is(".shd-right")?a.css({left:"auto"}):""!=a.is(".shd-top")?a.css({bottom:"auto"}):""!=a.is(".shd-bottom")&&a.css({top:"auto"}))}),jQuery(".ubtn").on("focus blur mousedown mouseup",function(a){var b=jQuery(this);"none"!=b.data("shadow-click")&&setTimeout(function(){b.is(":focus")?(b.addClass("no-ubtn-shadow"),""!=b.is(".shd-left")?b.css({right:b.data("shd-shadow")+"px"}):""!=b.is(".shd-right")?b.css({left:b.data("shd-shadow")+"px"}):""!=b.is(".shd-top")?b.css({bottom:b.data("shd-shadow")+"px"}):""!=b.is(".shd-bottom")&&b.css({top:b.data("shd-shadow")+"px"})):(b.removeClass("no-ubtn-shadow"),""!=b.is(".shd-left")?b.css({right:"auto"}):""!=b.is(".shd-right")?b.css({left:"auto"}):""!=b.is(".shd-top")?b.css({bottom:"auto"}):""!=b.is(".shd-bottom")&&b.css({top:"auto"}))},0)}),jQuery(".ubtn").focusout(function(){var a=jQuery(this);a.removeClass("no-ubtn-shadow"),""!=a.is(".shd-left")?a.css({right:"auto"}):""!=a.is(".shd-right")?a.css({left:"auto"}):""!=a.is(".shd-top")?a.css({bottom:"auto"}):""!=a.is(".shd-bottom")&&a.css({top:"auto"})}),jQuery(".smile-icon-timeline-wrap.jstime").css("opacity","0"),jQuery(".jstime.timeline_preloader").css("opacity","1"),jQuery(".smile-icon-timeline-wrap.csstime .timeline-wrapper").each(function(){jQuery(".csstime .timeline-block:even").addClass("timeline-post-left"),jQuery(".csstime .timeline-block:odd").addClass("timeline-post-right")}),jQuery(".csstime .timeline-post-right").each(function(){jQuery(this).css("float","right"),jQuery("
").insertAfter(jQuery(this))}),jQuery(".csstime.smile-icon-timeline-wrap").each(function(){var a=jQuery(this).data("time_block_bg_color");jQuery(this).find(".timeline-block").css("background-color",a),jQuery(this).find(".timeline-post-left.timeline-block l").css("border-left-color",a),jQuery(this).find(".timeline-post-right.timeline-block l").css("border-right-color",a),jQuery(this).find(".feat-item").css("background-color",a),jQuery(this).find(".feat-item").find(".feat-top").length>0?jQuery(this).find(".feat-item l").css("border-top-color",a):jQuery(this).find(".feat-item l").css("border-bottom-color",a),c(jQuery(this))}),jQuery(".aio-icon, .aio-icon-img, .flip-box, .ultb3-info, .icon_list_icon, .ult-banner-block, .uavc-list-icon, .ult_tabs, .icon_list_connector").each(function(){if(jQuery(this).attr("data-animation")){var b=jQuery(this).attr("data-animation"),c="delay-"+jQuery(this).attr("data-animation-delay");if("undefined"==typeof b||""===b)return!1;a(this).bsf_appear(function(){var a=jQuery(this);a.addClass("animated").addClass(b),a.addClass("animated").addClass(c)})}}),jQuery(".stats-block").each(function(){a(this).bsf_appear(function(){var a=parseFloat(jQuery(this).find(".stats-number").data("counter-value")),b=jQuery(this).find(".stats-number").data("counter-value")+" ",c=parseInt(jQuery(this).find(".stats-number").data("speed")),d=jQuery(this).find(".stats-number").data("id"),e=jQuery(this).find(".stats-number").data("separator"),f=jQuery(this).find(".stats-number").data("decimal"),g=b.split(".");g=g[1]?g[1].length-1:0;var h=!0;"none"==f&&(f=""),h="none"!=e;var i={useEasing:!0,useGrouping:h,separator:e,decimal:f},j=new countUp(d,0,a,g,c,i);setTimeout(function(){j.start()},500)})}),jQuery(document).on("click","#page",function(){jQuery(".ifb-hover").removeClass("ifb-hover")}),jQuery(document).on("hover",".ifb-flip-box",function(a){a.stopPropagation(),jQuery(this).toggleClass("ifb-hover")}),jQuery(".ifb-flip-box").each(function(a,b){jQuery(this).parent().hasClass("style_9")&&(jQuery(this).hover(function(){jQuery(this).addClass("ifb-door-hover")},function(){jQuery(this).removeClass("ifb-door-hover")}),jQuery(this).on("click",function(){jQuery(this).toggleClass("ifb-door-right-open"),jQuery(this).removeClass("ifb-door-hover")}))}),jQuery(document).on("click",".ifb-flip-box",function(a){a.stopPropagation(),jQuery(document).trigger("ultFlipBoxClicked",jQuery(this))}),jQuery(".vertical_door_flip .ifb-front").each(function(){jQuery(this).wrap('
'),jQuery(this).parent().clone().removeClass("ifb-front-1").addClass("ifb-front-2").insertAfter(jQuery(this).parent())}),jQuery(".reverse_vertical_door_flip .ifb-back").each(function(){jQuery(this).wrap('
'),jQuery(this).parent().clone().removeClass("ifb-back-1").addClass("ifb-back-2").insertAfter(jQuery(this).parent())}),jQuery(".horizontal_door_flip .ifb-front").each(function(){jQuery(this).wrap('
'),jQuery(this).parent().clone().removeClass("ifb-front-1").addClass("ifb-front-2").insertAfter(jQuery(this).parent())}),jQuery(".reverse_horizontal_door_flip .ifb-back").each(function(){jQuery(this).wrap('
'),jQuery(this).parent().clone().removeClass("ifb-back-1").addClass("ifb-back-2").insertAfter(jQuery(this).parent())}),jQuery(".style_9 .ifb-front").each(function(){jQuery(this).wrap('
'),jQuery(this).parent().clone().removeClass("ifb-front-1").addClass("ifb-front-2").insertAfter(jQuery(this).parent())}),jQuery(".style_9 .ifb-back").each(function(){jQuery(this).wrap('
'),jQuery(this).parent().clone().removeClass("ifb-back-1").addClass("ifb-back-2").insertAfter(jQuery(this).parent())});var g=/^((?!chrome).)*safari/i.test(navigator.userAgent);g&&(jQuery(".vertical_door_flip").each(function(a,b){var c=jQuery(this).find(".flip_link").outerHeight();jQuery(this).find(".flip_link").css("top",-c/2+"px"),jQuery(this).find(".ifb-multiple-front").css("width","50.2%")}),jQuery(".horizontal_door_flip").each(function(a,b){var c=jQuery(this).find(".flip_link").outerHeight();jQuery(this).find(".flip_link").css("top",-c/2+"px"),jQuery(this).find(".ifb-multiple-front").css("height","50.2%")}),jQuery(".reverse_vertical_door_flip").each(function(a,b){var c=jQuery(this).find(".flip_link").outerHeight();jQuery(this).find(".flip_link").css("top",-c/2+"px")}),jQuery(".reverse_horizontal_door_flip").each(function(a,b){var c=jQuery(this).find(".flip_link").outerHeight();jQuery(this).find(".flip_link").css("top",-c/2+"px"),jQuery(this).find(".ifb-back").css("position","inherit")})),jQuery(".square_box-icon").each(function(a,c){var d=jQuery(this);if(jQuery(this).find(".aio-icon-img").length>0){var e=jQuery(this).find(".aio-icon-img");b(d,e,"img"),e.find(".img-icon").load(function(){b(d,e,"icon")})}else{var e=jQuery(this).find(".aio-icon");b(d,e,"icon"),jQuery(window).load(function(){b(d,e,"icon")})}})})}(jQuery),jQuery(document).ready(function(){function a(){jQuery(".ult-new-ib").each(function(a,b){var c=jQuery(this).data("min-height")||"";jQuery(this).find(".ult-new-ib-img").data("min-height")||"",jQuery(this).find(".ult-new-ib-img").data("max-width")||"";if(""!=c){jQuery(this).addClass("ult-ib2-min-height"),jQuery(this).css("height",c),jQuery(this).find(".ult-new-ib-img").removeClass("ult-ib2-toggle-size");var d=(jQuery(this).find(".ult-new-ib-img").width(),jQuery(this).find(".ult-new-ib-img").height()),e=jQuery(this).width();(e<=c||d0&&a()}),jQuery(".ui-accordion").bind("accordionactivate",function(b,c){jQuery(this).find(".ultimate-map-wrapper").length>0&&a()}),jQuery(document).on("onUVCModalPopupOpen",function(){a()}),jQuery(document).on("UVCMapResize",function(){a()})}),function(a){a(document).ready(function(){var b=a(window).width();if(b>300&&b<768);else if(b>768&&b<1015);else;a(document).on("mouseenter",".ult_dual1",function(){var b=a(this).find(".ult-dual-btn-1").attr("class"),c=b.split(" "),b=c[1]+c[2];if("Style1"==b){var d=a(this).find(".ult-dual-btn-1").data("bghovercolor");a(this)[0].style.setProperty("background-color",d,"important")}if("Style2"==b)var d=a(this).find(".ult-dual-btn-1").data("bghovercolor");if("Style3"==b){var d=a(this).find(".ult-dual-btn-1").data("bghovercolor");a(this).css({"box-shadow":" inset 0 0 20px 50px "+d})}if("undefined"!=b){var e=a(this).find(".ult-dual-btn-1").data("icon_hover_color");a(this).find(".ult-dual-btn-1").find(".aio-icon").css({color:e});var f=a(this).find(".ult-dual-btn-1").data("iconbghovercolor");a(this).find(".ult-dual-btn-1").find(".aio-icon").css({background:f});var g=a(this).find(".ult-dual-btn-1").data("iconhoverborder");a(this).find(".ult-dual-btn-1").find(".aio-icon").css({"border-color":g}),a(this).find(".ult-dual-btn-1").find(".aio-icon-img").css({background:f}),a(this).find(".ult-dual-btn-1").find(".aio-icon-img").css({"border-color":g});var h=a(this).find(".ult-dual-btn-1").data("texthovercolor");a(this).find(".ult-dual-btn-1").find(".ult-dual-button-title").css({color:h})}}),a(document).on("mouseleave",".ult_dual1",function(){var b=a(this).find(".ult-dual-btn-1").attr("class"),c=b.split(" "),b=c[1]+c[2];if("Style1"==b){var d=a(this).find(".ult-dual-btn-1").data("bgcolor");a(this)[0].style.setProperty("background-color",d,"important")}if("Style2"==b)var d=a(this).find(".ult-dual-btn-1").data("bgcolor");if("Style3"==b){var d=a(this).find(".ult-dual-btn-1").data("bgcolor");a(this).css({"box-shadow":"inset 0px 0 0 0 "+d})}if("undefined"!=b){var e=a(this).find(".ult-dual-btn-1").data("icon_color");a(this).find(".ult-dual-btn-1").find(".aio-icon").css({color:e});var f=a(this).find(".ult-dual-btn-1").data("textcolor");a(this).find(".ult-dual-btn-1").find(".ult-dual-button-title").css({color:f});var g=a(this).find(".ult-dual-btn-1").data("iconbgcolor");a(this).find(".ult-dual-btn-1").find(".aio-icon").css({background:g});var h=a(this).find(".ult-dual-btn-1").data("iconborder");a(this).find(".ult-dual-btn-1").find(".aio-icon").css({"border-color":h}),a(this).find(".ult-dual-btn-1").find(".aio-icon-img").css({background:g}),a(this).find(".ult-dual-btn-1").find(".aio-icon-img").css({"border-color":h})}}),a(document).on("mouseenter",".ult_dual2",function(){var b=a(this).find(".ult-dual-btn-2").attr("class"),c=b.split(" "),b=c[1]+c[2];if("Style1"==b){var d=a(this).find(".ult-dual-btn-2").data("bghovercolor");a(this)[0].style.setProperty("background-color",d,"important")}if("Style2"==b)var d=a(this).find(".ult-dual-btn-2").data("bghovercolor");if("Style3"==b){var d=a(this).find(".ult-dual-btn-2").data("bghovercolor");a(this).css({"box-shadow":" inset 0 0 20px 50px "+d})}if("undefined"!=b){var e=a(this).find(".ult-dual-btn-2").data("icon_hover_color");a(this).find(".ult-dual-btn-2").find(".aio-icon").css({color:e});var f=a(this).find(".ult-dual-btn-2").data("texthovercolor");a(this).find(".ult-dual-btn-2").find(".ult-dual-button-title").css({color:f});var g=a(this).find(".ult-dual-btn-2").data("iconbghovercolor");a(this).find(".ult-dual-btn-2").find(".aio-icon").css({background:g});var h=a(this).find(".ult-dual-btn-2").data("iconhoverborder");a(this).find(".ult-dual-btn-2").find(".aio-icon").css({"border-color":h}),a(this).find(".ult-dual-btn-2").find(".aio-icon-img").css({background:g}),a(this).find(".ult-dual-btn-2").find(".aio-icon-img").css({"border-color":h})}}),a(document).on("mouseleave",".ult_dual2",function(){var b=a(this).find(".ult-dual-btn-2").attr("class"),c=b.split(" "),b=c[1]+c[2];if("Style1"==b){var d=a(this).find(".ult-dual-btn-2").data("bgcolor");a(this)[0].style.setProperty("background-color",d,"important")}if("Style2"==b)var d=a(this).find(".ult-dual-btn-2").data("bgcolor");if("Style3"==b){var d=a(this).find(".ult-dual-btn-2").data("bghovercolor");a(this).css({"box-shadow":" inset 0 0 0 0 "+d})}if("undefined"!=b){var e=a(this).find(".ult-dual-btn-2").data("icon_color");a(this).find(".ult-dual-btn-2").find(".aio-icon").css({color:e});var f=a(this).find(".ult-dual-btn-2").data("textcolor");a(this).find(".ult-dual-btn-2").find(".ult-dual-button-title").css({color:f});var g=a(this).find(".ult-dual-btn-2").data("iconbgcolor");a(this).find(".ult-dual-btn-2").find(".aio-icon").css({background:g});var h=a(this).find(".ult-dual-btn-2").data("iconborder");a(this).find(".ult-dual-btn-2").find(".aio-icon").css({"border-color":h}),a(this).find(".ult-dual-btn-2").find(".aio-icon-img").css({background:g}),a(this).find(".ult-dual-btn-2").find(".aio-icon-img").css({"border-color":h})}})}),a(document).on("mouseenter",".ult_main_dualbtn",function(){a(this).data("bhcolor")}),a(document).on("mouseleave",".ult_main_dualbtn",function(){a(this).data("bcolor")})}(jQuery),jQuery(document).ready(function(a){jQuery(".ult_main_dualbtn").each(function(a){var b=jQuery(this).find(".ult_dual1").outerHeight();b=parseInt(b);var c=jQuery(this).find(".ult_dual2").outerHeight();c=parseInt(c),b>c?(jQuery(this).find(".ult_dual2").css({height:b}),jQuery(this).find(".ult_dual1").css({height:b})):b0)var e=jQuery(b).parents(".wpb_column");else if(jQuery(b).parents(".wpb_column").length>0)var e=jQuery(b).parents(".wpb_row");else var e=jQuery(b).parent();if("full"==c&&(e=jQuery("body"),d="false"),"ex-full"==c&&(e=jQuery("html"),d="false"),!isNaN(c))for(var a=1;a0&&(a=!0),c.body.removeChild(b),a}function f(b,c,d){this.child=b,this._$child=a(b),this.parent=c,this.options={className:"fixto-fixed",top:0},this._setOptions(d)}function g(a,b,c){f.call(this,a,b,c),this._replacer=new j.MimicNode(a),this._ghostNode=this._replacer.replacer,this._saveStyles(),this._saveViewportHeight(),this._proxied_onscroll=this._bind(this._onscroll,this),this._proxied_onresize=this._bind(this._onresize,this),this.start()}function h(a,b,c){f.call(this,a,b,c),this.start()}var i=function(){var a={getAll:function(a){return c.defaultView.getComputedStyle(a)},get:function(a,b){return this.getAll(a)[b]},toFloat:function(a){return parseFloat(a,10)||0},getFloat:function(a,b){return this.toFloat(this.get(a,b))},_getAllCurrentStyle:function(a){return a.currentStyle}};return c.documentElement.currentStyle&&(a.getAll=a._getAllCurrentStyle),a}(),j=function(){function b(a){this.element=a,this.replacer=c.createElement("div"),this.replacer.style.visibility="hidden",this.hide(),a.parentNode.insertBefore(this.replacer,a)}b.prototype={replace:function(){var a=this.replacer.style,b=i.getAll(this.element);a.width=this._width(),a.height=this._height(),a.marginTop=b.marginTop,a.marginBottom=b.marginBottom,a.marginLeft=b.marginLeft,a.marginRight=b.marginRight,a.cssFloat=b.cssFloat,a.styleFloat=b.styleFloat,a.position=b.position,a.top=b.top,a.right=b.right,a.bottom=b.bottom,a.left=b.left,a.display=b.display},hide:function(){this.replacer.style.display="none"},_width:function(){return this.element.getBoundingClientRect().width+"px"},_widthOffset:function(){return this.element.offsetWidth+"px"},_height:function(){return this.element.getBoundingClientRect().height+"px"},_heightOffset:function(){return this.element.offsetHeight+"px"},destroy:function(){a(this.replacer).remove();for(var b in this)this.hasOwnProperty(b)&&(this[b]=null)}};var d=c.documentElement.getBoundingClientRect();return d.width||(b.prototype._width=b.prototype._widthOffset,b.prototype._height=b.prototype._heightOffset),{MimicNode:b,computedStyle:i}}();d.prototype={_vendors:{webkit:{cssPrefix:"-webkit-",jsPrefix:"Webkit"},moz:{cssPrefix:"-moz-",jsPrefix:"Moz"},ms:{cssPrefix:"-ms-",jsPrefix:"ms"},opera:{cssPrefix:"-o-",jsPrefix:"O"}},_prefixJsProperty:function(a,b){return a.jsPrefix+b[0].toUpperCase()+b.substr(1)},_prefixValue:function(a,b){return a.cssPrefix+b},_valueSupported:function(a,b,c){try{return c.style[a]=b,c.style[a]===b}catch(d){return!1}},propertySupported:function(a){return void 0!==c.documentElement.style[a]},getJsProperty:function(a){if(this.propertySupported(a))return a;if(this._vendor)return this._prefixJsProperty(this._vendor,a);var b;for(var c in this._vendors)if(b=this._prefixJsProperty(this._vendors[c],a),this.propertySupported(b))return this._vendor=this._vendors[c],b;return null},getCssValue:function(a,b){var d=c.createElement("div"),e=this.getJsProperty(a);if(this._valueSupported(e,b,d))return b;var f;if(this._vendor&&(f=this._prefixValue(this._vendor,b),this._valueSupported(e,f,d)))return f;for(var g in this._vendors)if(f=this._prefixValue(this._vendors[g],b),this._valueSupported(e,f,d))return this._vendor=this._vendors[g],f;return null}};var k,l,m=new d,n=m.getJsProperty("transform"),o=m.getCssValue("position","sticky"),p=m.getCssValue("position","fixed"),q="Microsoft Internet Explorer"===navigator.appName;q&&(l=parseFloat(navigator.appVersion.split("MSIE")[1])),f.prototype={_mindtop:function(){var a=0;if(this._$mind)for(var b,c,d=0,e=this._$mind.length;dthis._parentBottom||this._scrollTopthis._fullOffset("offsetTop",this.child)-this.options.top-this._mindtop()&&this._viewportHeight>this.child.offsetHeight+i.toFloat(a.marginTop)+i.toFloat(a.marginBottom)&&(this._fix(),this._adjust())}},_adjust:function(){var a=0,b=this._mindtop(),c=0,d=i.getAll(this.child),e=null;k&&(e=this._getContext(),e&&(e.getBoundingClientRect().top>0?a-=e.getBoundingClientRect().top:a=Math.abs(e.getBoundingClientRect().top))),c=this._parentBottom-this._scrollTop-(this.child.offsetHeight+i.toFloat(d.marginBottom)+b+this.options.top),c>0&&(c=0),this.child.style.top=c+b+a+this.options.top-i.toFloat(d.marginTop)+"px"},_fullOffset:function(a,b,c){for(var d=b[a],e=b.offsetParent;null!==e&&e!==c;)d+=e[a],e=e.offsetParent;return d},_getContext:function(){for(var a,b,d=this.child,e=null;!e;){if(a=d.parentNode,a===c.documentElement)return null;if(b=i.getAll(a),"none"!==b[n]){e=a;break}d=a}return e},_fix:function(){var a=this.child,b=a.style,d=i.getAll(a),e=a.getBoundingClientRect().left,f=d.width;if(this._saveStyles(),c.documentElement.currentStyle&&(f=a.offsetWidth-(i.toFloat(d.paddingLeft)+i.toFloat(d.paddingRight)+i.toFloat(d.borderLeftWidth)+i.toFloat(d.borderRightWidth))+"px"),k){var g=this._getContext();g&&(e=a.getBoundingClientRect().left-g.getBoundingClientRect().left)}this._replacer.replace(),b.left=e-i.toFloat(d.marginLeft)+"px",b.width=f,b.position="fixed",b.top=this._mindtop()+this.options.top-i.toFloat(d.marginTop)+"px",this._$child.addClass(this.options.className),this.fixed=!0},_unfix:function(){var a=this.child.style;this._replacer.hide(),a.position=this._childOriginalPosition,a.top=this._childOriginalTop,a.width=this._childOriginalWidth,a.left=this._childOriginalLeft,this._$child.removeClass(this.options.className),this.fixed=!1},_saveStyles:function(){var a=this.child.style;this._childOriginalPosition=a.position,this._childOriginalTop=a.top,this._childOriginalWidth=a.width,this._childOriginalLeft=a.left},_onresize:function(){this.refresh()},_saveViewportHeight:function(){this._viewportHeight=b.innerHeight||c.documentElement.clientHeight},_stop:function(){this._unfix(),a(b).unbind("scroll",this._proxied_onscroll),a(this._toresize).unbind("resize",this._proxied_onresize); },_start:function(){this._onscroll(),a(b).bind("scroll",this._proxied_onscroll),a(this._toresize).bind("resize",this._proxied_onresize)},_destroy:function(){this._replacer.destroy()},refresh:function(){this._saveViewportHeight(),this._unfix(),this._onscroll()}}),h.prototype=new f,a.extend(h.prototype,{_start:function(){var a=i.getAll(this.child);this._childOriginalPosition=a.position,this._childOriginalTop=a.top,this.child.style.position=o,this.refresh()},_stop:function(){this.child.style.position=this._childOriginalPosition,this.child.style.top=this._childOriginalTop},refresh:function(){this.child.style.top=this._mindtop()+this.options.top+"px"}});var r=function(a,b,c){return o&&!c||o&&c&&c.useNativeSticky!==!1?new h(a,b,c):p?(void 0===k&&(k=e()),new g(a,b,c)):"Neither fixed nor sticky positioning supported"};return l<8&&(r=function(){return"not supported"}),a.fn.fixTo=function(b,c){var d=a(b),e=0;return this.each(function(){var f=a(this).data("fixto-instance");if(f){var g=b;f[g].call(f,c)}else a(this).data("fixto-instance",r(this,d[e],c));e++})},{FixToContainer:g,fixTo:r,computedStyle:i,mimicNode:j}}(window.jQuery,window,document);!function(a,b,c){function d(){a(".flip-box").each(function(c,d){var e=(a(document).width(),b.innerWidth);if(""!=e)if(e>=768){var f=a(this).attr("data-min-height")||"";if(""!=f){if(a(this).hasClass("ifb-custom-height")){if(a(this).css("height",f),a(this).find(".ifb-back").find(".ifb-flip-box-section").hasClass("ifb-flip-box-section-vertical-middle")){var g=(a(this).find(".ifb-back").find(".ifb-flip-box-section").hasClass("ifb-flip-box-section-vertical-middle"),a(this).find(".ifb-back").outerHeight());g=parseInt(f);var h=a(this).find(".ifb-back").find(".ifb-flip-box-section").outerHeight();h=parseInt(h),h>=g&&a(this).find(".ifb-back").find(".ifb-flip-box-section").addClass("ifb_disable_middle")}if(a(this).find(".ifb-front").find(".ifb-flip-box-section").hasClass("ifb-flip-box-section-vertical-middle")){var i=a(this).find(".ifb-front").outerHeight();i=parseInt(f);var j=a(this).find(".ifb-front").find(".ifb-flip-box-section").outerHeight();j=parseInt(j),j>=i&&a(this).find(".ifb-front").find(".ifb-flip-box-section").addClass("ifb_disable_middle")}}}else if(a(this).hasClass("ifb-jq-height")){var k=a(this).find(".ifb-back").find(".ifb-flip-box-section").outerHeight();k=parseInt(k);var l=a(this).find(".ifb-front").find(".ifb-flip-box-section").outerHeight();l=parseInt(l),k>=l?a(this).find(".ifb-face").css("height",k):a(this).find(".ifb-face").css("height",l)}else if(a(this).hasClass("ifb-auto-height")&&a(this).find(".ifb-back").find(".ifb-flip-box-section").hasClass("ifb-flip-box-section-vertical-middle")){var g=(a(this).find(".ifb-back").find(".ifb-flip-box-section").hasClass("ifb-flip-box-section-vertical-middle"),a(this).find(".ifb-back").outerHeight());g=parseInt(g);var h=a(this).find(".ifb-back").find(".ifb-flip-box-section").outerHeight();h=parseInt(h),h>=g&&a(this).find(".ifb-back").find(".ifb-flip-box-section").addClass("ifb_disable_middle")}}else{var f=a(this).attr("data-min-height")||"";if(a(this).hasClass("style_9")){a(this).css("height","initial");var m=a(this).find(".ifb-front-1 .ifb-front").outerHeight(),n=a(this).find(".ifb-back-1 .ifb-back").outerHeight();m>n?a(this).css("height",m):a(this).css("height",n)}else if(a(this).hasClass("ifb-jq-height")){var k=a(this).find(".ifb-back").find(".ifb-flip-box-section").outerHeight();k=parseInt(k);var l=a(this).find(".ifb-front").find(".ifb-flip-box-section").outerHeight();l=parseInt(l),k>=l?a(this).find(".ifb-face").css("height",k):a(this).find(".ifb-face").css("height",l)}else if(a(this).hasClass("ifb-auto-height")){if(a(this).find(".ifb-back").find(".ifb-flip-box-section").hasClass("ifb-flip-box-section-vertical-middle")){var g=(a(this).find(".ifb-back").find(".ifb-flip-box-section").hasClass("ifb-flip-box-section-vertical-middle"),a(this).find(".ifb-back").outerHeight());g=parseInt(g);var h=a(this).find(".ifb-back").find(".ifb-flip-box-section").outerHeight();h=parseInt(h),h>g&&a(this).find(".ifb-back").find(".ifb-flip-box-section").addClass("ifb_disable_middle")}}else if(a(this).hasClass("ifb-custom-height")){if(""!=f){if(a(this).css("height",f),a(this).find(".ifb-back").find(".ifb-flip-box-section").hasClass("ifb-flip-box-section-vertical-middle")){var g=(a(this).find(".ifb-back").find(".ifb-flip-box-section").hasClass("ifb-flip-box-section-vertical-middle"),a(this).find(".ifb-back").outerHeight());g=parseInt(g);var h=a(this).find(".ifb-back").find(".ifb-flip-box-section").outerHeight();h=parseInt(h),h>=g&&a(this).find(".ifb-back").find(".ifb-flip-box-section").addClass("ifb_disable_middle")}if(a(this).find(".ifb-front").find(".ifb-flip-box-section").hasClass("ifb-flip-box-section-vertical-middle")){var i=a(this).find(".ifb-front").outerHeight();i=parseInt(i);var j=a(this).find(".ifb-front").find(".ifb-flip-box-section").outerHeight();j=parseInt(j),j>=i?a(this).find(".ifb-front").find(".ifb-flip-box-section").addClass("ifb_disable_middle"):a(this).find(".ifb-front").find(".ifb-flip-box-section").addClass("ifb_disable_middle")}}}else a(this).css("height","initial")}})}a(b).load(function(a){d()}),a(document).ready(function(a){d()}),a(b).resize(function(a){d()})}(jQuery,window),function(a){function b(){var a=0;$jh(".uvc-heading").each(function(){var b,c,d,e=$jh(this).outerWidth(),f=$jh(this).attr("data-hline_width"),g=$jh(this).attr("data-hicon_type"),h=$jh(this).attr("data-halign"),i=$jh(this).attr("data-hspacer");if("line_with_icon"==i){var j=$jh(this).attr("id");a=$jh(this).attr("data-hfixer"),a="undefined"==typeof a||""===a?0:parseInt(a);var k=e/2;$jh(this).find(".dynamic_ultimate_heading_css").remove(),d="auto"==f||f>e?e:f;var l=d/2;"selector"==g?(c=$jh(this).find(".aio-icon").outerWidth(),b=$jh(this).find(".aio-icon").outerHeight()):(c=$jh(this).find(".aio-icon-img").outerWidth(),b=$jh(this).find(".aio-icon-img").outerHeight());var m=c/2,n=k-m+c+a,o=l;if(b+=3,$jh(this).find(".uvc-heading-spacer").height(b),"center"==h){$jh(this).find(".aio-icon-img").css({margin:"0 auto"});var p="#"+j+" .uvc-heading-spacer.line_with_icon:before{right:"+n+"px;}#"+j+" .uvc-heading-spacer.line_with_icon:after{left:"+n+"px;}"}else if("left"==h){$jh(this).find(".aio-icon-img").css({float:h});var p="";p=""!=d?"#"+j+" .uvc-heading-spacer.line_with_icon:before{left:"+(c+a)+"px;right:auto;}#"+j+" .uvc-heading-spacer.line_with_icon:after{left:"+(o+c+a)+"px;right:auto;}":"#"+j+" .uvc-heading-spacer.line_with_icon:before{right:"+(n-c-2*a)+"px;}#"+j+" .uvc-heading-spacer.line_with_icon:after{left:"+(n-a)+"px;}"}else if("right"==h){$jh(this).find(".aio-icon-img").css({float:h});var p="";p=""!=d?"#"+j+" .uvc-heading-spacer.line_with_icon:before{right:"+(c+a)+"px;left:auto;}#"+j+" .uvc-heading-spacer.line_with_icon:after{right:"+(o+c+a)+"px;left:auto;}":"#"+j+" .uvc-heading-spacer.line_with_icon:before{right:"+(n-a)+"px;}#"+j+" .uvc-heading-spacer.line_with_icon:after{left:"+(n-c-2*a)+"px;}"}var q=$jh(this).attr("data-hborder_style"),r=$jh(this).attr("data-hborder_color"),s=$jh(this).attr("data-hborder_height");"auto"==f&&"center"==h&&(o=Math.floor(o-c+a));var t='
";$jh(this).prepend(t)}else"line_only"==i&&("right"==h||"left"==h?$jh(this).find(".uvc-heading-spacer").find(".uvc-headings-line").css({float:h}):$jh(this).find(".uvc-heading-spacer").find(".uvc-headings-line").css({margin:"0 auto"}))})}$jh=a.noConflict(),$jh(document).ready(function(a){b(),$jh(window).resize(function(a){b()})}),a(window).load(function(a){b(),jQuery(".ult_exp_section").select(function(){var a=jQuery(this).parent().find(".uvc-heading").length;a>0&&b()})})}(jQuery),function(a){function b(){a(".ultimate-call-to-action").each(function(b,c){var d=a(c).data("override");if(0!=d){a(c).css({"margin-left":0});var e="true";if(a(c).parents(".wpb_row").length>0)var f=a(c).parents(".wpb_row");else if(a(c).parents(".wpb_column").length>0)var f=a(c).parents(".wpb_column");else var f=a(c).parent();if("full"==d&&(f=a("body"),e="false"),"ex-full"==d&&(f=a("html"),e="false"),!isNaN(d))for(var b=1;b<=d&&"HTML"!=f.prop("tagName");b++)f=f.parent();var g=f.outerWidth(),h=a(c).offset().left,i=(a(c).position().left,f.offset().left),j=f.position().left,k=i-h;"full"!=d&&"ex-full"!=d&&(k=i-j),a(c).css({width:g,"margin-left":k})}})}a(document).ready(function(){a(document).on("mouseenter",".ultimate-call-to-action",function(){a(this).addClass("ultimate-call-to-action-hover");var b=a(this).data("background-hover");a(this).css({"background-color":b})}),a(document).on("mouseleave",".ultimate-call-to-action",function(){a(this).removeClass("ultimate-call-to-action-hover");var b=a(this).data("background");a(this).css({"background-color":b})}),b(),a(window).resize(function(){b()})})}(jQuery),function(a,b,c){function d(b,c){this.bodyOverflowX,this.callbacks={hide:[],show:[]},this.checkInterval=null,this.Content,this.$el=a(b),this.$elProxy,this.elProxyPosition,this.enabled=!0,this.options=a.extend({},i,c),this.mouseIsOverProxy=!1,this.namespace="ult-tooltipster-"+Math.round(1e5*Math.random()),this.Status="hidden",this.timerHide=null,this.timerShow=null,this.$tooltip,this.options.iconTheme=this.options.iconTheme.replace(".",""),this.options.theme=this.options.theme.replace(".",""),this._init()}function e(b,c){var d=!0;return a.each(b,function(a,e){if("undefined"==typeof c[a]||b[a]!==c[a])return d=!1,!1}),d}function f(){return!k&&j}function g(){var a=c.body||c.documentElement,b=a.style,d="transition";if("string"==typeof b[d])return!0;v=["Moz","Webkit","Khtml","O","ms"],d=d.charAt(0).toUpperCase()+d.substr(1);for(var e=0;e
'),b.$elProxy.text(b.options.icon)):b.options.iconCloning?b.$elProxy=b.options.icon.clone(!0):b.$elProxy=b.options.icon,b.$elProxy.insertAfter(b.$el)):b.$elProxy=b.$el,"hover"==b.options.trigger?(b.$elProxy.on("mouseenter."+b.namespace,function(){f()&&!b.options.touchDevices||(b.mouseIsOverProxy=!0,b._show())}).on("mouseleave."+b.namespace,function(){f()&&!b.options.touchDevices||(b.mouseIsOverProxy=!1)}),j&&b.options.touchDevices&&b.$elProxy.on("touchstart."+b.namespace,function(){b._showNow()})):"click"==b.options.trigger&&b.$elProxy.on("click."+b.namespace,function(){f()&&!b.options.touchDevices||b._show()})}},_responsive:function(){var a="",b="",c="",d="",e="",f="";jQuery(".ult-responsive").each(function(g,h){var i=jQuery(h),j=i.attr("data-responsive-json-new"),k=i.data("ultimate-target"),l="",m="",n="",o="",p="",q="";jQuery(h).hasClass("ult-tooltipster-content"),"undefined"==typeof j&&null==j||jQuery.each(jQuery.parseJSON(j),function(a,b){var c=a;if("undefined"!=typeof b&&null!=b){var d=b.split(";");jQuery.each(d,function(a,b){if("undefined"!=typeof b||null!=b){var d=b.split(":");switch(d[0]){case"large_screen":l+=c+":"+d[1]+";";break;case"desktop":m+=c+":"+d[1]+";";break;case"tablet":n+=c+":"+d[1]+";";break;case"tablet_portrait":o+=c+":"+d[1]+";";break;case"mobile_landscape":p+=c+":"+d[1]+";";break;case"mobile":q+=c+":"+d[1]+";"}}})}}),""!=q&&(f+=k+"{"+q+"}"),""!=p&&(e+=k+"{"+p+"}"),""!=o&&(d+=k+"{"+o+"}"),""!=n&&(c+=k+"{"+n+"}"),""!=m&&(b+=k+"{"+m+"}"),""!=l&&(a+=k+"{"+l+"}")});var g="",jQuery("head").append(g)},_show:function(){var a=this;"shown"!=a.Status&&"appearing"!=a.Status&&(a.options.delay?a.timerShow=setTimeout(function(){("click"==a.options.trigger||"hover"==a.options.trigger&&a.mouseIsOverProxy)&&(a._showNow(),a._responsive())},a.options.delay):a._showNow()),a._responsive()},_showNow:function(c){var d=this;d.options.functionBefore.call(d.$el,d.$el,function(){if(d.enabled&&null!==d.Content){c&&d.callbacks.show.push(c),d.callbacks.hide=[],clearTimeout(d.timerShow),d.timerShow=null,clearTimeout(d.timerHide),d.timerHide=null,d.options.onlyOne&&a(".ult-tooltipstered").not(d.$el).each(function(b,c){var d=a(c),e=d.data("ult-tooltipster-ns");a.each(e,function(a,b){var c=d.data(b),e=c.status(),f=c.option("autoClose");"hidden"!==e&&"disappearing"!==e&&f&&c.hide()})});var e=function(){d.Status="shown",a.each(d.callbacks.show,function(a,b){b.call(d.$el)}),d.callbacks.show=[]};if("hidden"!==d.Status){var f=0;"disappearing"===d.Status?(d.Status="appearing",g()?(d.$tooltip.clearQueue().removeClass("ult-tooltipster-dying").addClass("ult-tooltipster-"+d.options.animation+"-show"),d.options.speed>0&&d.$tooltip.delay(d.options.speed),d.$tooltip.queue(e)):d.$tooltip.stop().fadeIn(e)):"shown"===d.Status&&e()}else{d.Status="appearing";var f=d.options.speed,h=BaseStyle="";d.options.ultCustomTooltipStyle&&(h=d.options.ultContentStyle?d.options.ultContentStyle:"",BaseStyle=d.options.ultBaseStyle?d.options.ultBaseStyle:""),d.bodyOverflowX=a("body").css("overflow-x"),a("body").css("overflow-x","hidden");var i="ult-tooltipster-"+d.options.animation,k="-webkit-transition-duration: "+d.options.speed+"ms; -webkit-animation-duration: "+d.options.speed+"ms; -moz-transition-duration: "+d.options.speed+"ms; -moz-animation-duration: "+d.options.speed+"ms; -o-transition-duration: "+d.options.speed+"ms; -o-animation-duration: "+d.options.speed+"ms; -ms-transition-duration: "+d.options.speed+"ms; -ms-animation-duration: "+d.options.speed+"ms; transition-duration: "+d.options.speed+"ms; animation-duration: "+d.options.speed+"ms;",l=d.options.minWidth?"min-width:"+Math.round(d.options.minWidth)+"px;":"",m=d.options.maxWidth?"max-width:"+Math.round(d.options.maxWidth)+"px;":"",n=d.options.interactive?"pointer-events: auto;":"";if(BaseStyle=BaseStyle+" "+l+" "+m+" "+n+" "+k,d.$tooltip=a('
'),g()&&d.$tooltip.addClass(i),d._content_insert(),d.$tooltip.appendTo("body"),d.reposition(),d.options.functionReady.call(d.$el,d.$el,d.$tooltip),g()?(d.$tooltip.addClass(i+"-show"),d.options.speed>0&&d.$tooltip.delay(d.options.speed),d.$tooltip.queue(e)):d.$tooltip.css("display","none").fadeIn(d.options.speed,e),d._interval_set(),a(b).on("scroll."+d.namespace+" resize."+d.namespace,function(){d.reposition()}),d.options.autoClose)if(a("body").off("."+d.namespace),"hover"==d.options.trigger)if(j&&setTimeout(function(){a("body").on("touchstart."+d.namespace,function(){d.hide()})},0),d.options.interactive){j&&d.$tooltip.on("touchstart."+d.namespace,function(a){a.stopPropagation()});var o=null;d.$elProxy.add(d.$tooltip).on("mouseleave."+d.namespace+"-autoClose",function(){clearTimeout(o),o=setTimeout(function(){d.hide()},d.options.interactiveTolerance)}).on("mouseenter."+d.namespace+"-autoClose",function(){clearTimeout(o)})}else d.$elProxy.on("mouseleave."+d.namespace+"-autoClose",function(){d.hide()});else"click"==d.options.trigger&&(setTimeout(function(){a("body").on("click."+d.namespace+" touchstart."+d.namespace,function(){d.hide()})},0),d.options.interactive&&d.$tooltip.on("click."+d.namespace+" touchstart."+d.namespace,function(a){a.stopPropagation()}))}d.options.timer>0&&(d.timerHide=setTimeout(function(){d.timerHide=null,d.hide()},d.options.timer+f))}})},_interval_set:function(){var b=this;b.checkInterval=setInterval(function(){if(0===a("body").find(b.$el).length||0===a("body").find(b.$elProxy).length||"hidden"==b.Status||0===a("body").find(b.$tooltip).length)"shown"!=b.Status&&"appearing"!=b.Status||b.hide(),b._interval_cancel();else if(b.options.positionTracker){var c=b._repositionInfo(b.$elProxy),d=!1;e(c.dimension,b.elProxyPosition.dimension)&&("fixed"===b.$elProxy.css("position")?e(c.position,b.elProxyPosition.position)&&(d=!0):e(c.offset,b.elProxyPosition.offset)&&(d=!0)),d||b.reposition()}},200)},_interval_cancel:function(){clearInterval(this.checkInterval),this.checkInterval=null},_content_set:function(a){"object"==typeof a&&null!==a&&this.options.contentCloning&&(a=a.clone(!0)),this.Content=a},_content_insert:function(){var a=this,b=this.$tooltip.find(".ult-tooltipster-content");"string"!=typeof a.Content||a.options.contentAsHTML?b.empty().append(a.Content):b.text(a.Content)},_update:function(a){var b=this;b._content_set(a),null!==b.Content?"hidden"!==b.Status&&(b._content_insert(),b.reposition(),b.options.updateAnimation&&(g()?(b.$tooltip.css({width:"","-webkit-transition":"all "+b.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-moz-transition":"all "+b.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-o-transition":"all "+b.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-ms-transition":"all "+b.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms",transition:"all "+b.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms"}).addClass("ult-tooltipster-content-changing"),setTimeout(function(){"hidden"!=b.Status&&(b.$tooltip.removeClass("ult-tooltipster-content-changing"),setTimeout(function(){"hidden"!==b.Status&&b.$tooltip.css({"-webkit-transition":b.options.speed+"ms","-moz-transition":b.options.speed+"ms","-o-transition":b.options.speed+"ms","-ms-transition":b.options.speed+"ms",transition:b.options.speed+"ms"})},b.options.speed))},b.options.speed)):b.$tooltip.fadeTo(b.options.speed,.5,function(){"hidden"!=b.Status&&b.$tooltip.fadeTo(b.options.speed,1)}))):b.hide()},_repositionInfo:function(a){return{dimension:{height:a.outerHeight(!1),width:a.outerWidth(!1)},offset:a.offset(),position:{left:parseInt(a.css("left")),top:parseInt(a.css("top"))}}},hide:function(c){var d=this;c&&d.callbacks.hide.push(c),d.callbacks.show=[],clearTimeout(d.timerShow),d.timerShow=null,clearTimeout(d.timerHide),d.timerHide=null;var e=function(){a.each(d.callbacks.hide,function(a,b){b.call(d.$el)}),d.callbacks.hide=[]};if("shown"==d.Status||"appearing"==d.Status){d.Status="disappearing";var f=function(){d.Status="hidden","object"==typeof d.Content&&null!==d.Content&&d.Content.detach(),d.$tooltip.remove(),d.$tooltip=null,a(b).off("."+d.namespace),a("body").off("."+d.namespace).css("overflow-x",d.bodyOverflowX),a("body").off("."+d.namespace),d.$elProxy.off("."+d.namespace+"-autoClose"),d.options.functionAfter.call(d.$el,d.$el),e()};g()?(d.$tooltip.clearQueue().removeClass("ult-tooltipster-"+d.options.animation+"-show").addClass("ult-tooltipster-dying"),d.options.speed>0&&d.$tooltip.delay(d.options.speed),d.$tooltip.queue(f)):d.$tooltip.stop().fadeOut(d.options.speed,f)}else"hidden"==d.Status&&e();return d},show:function(a){return this._showNow(a),this},update:function(a){return this.content(a)},content:function(a){return"undefined"==typeof a?this.Content:(this._update(a),this)},reposition:function(){function c(){var c=a(b).scrollLeft();C-c<0&&(f=C-c,C=c),C+i-c>g&&(f=C-(g+c-i),C=g+c-i)}function d(c,d){h.offset.top-a(b).scrollTop()-j-F-12<0&&d.indexOf("top")>-1&&(H=c),h.offset.top+h.dimension.height+j+12+F>a(b).scrollTop()+a(b).height()&&d.indexOf("bottom")>-1&&(H=c,E=h.offset.top-j-F-12)}var e=this;if(0!==a("body").find(e.$tooltip).length){e.$tooltip.css("width",""),e.elProxyPosition=e._repositionInfo(e.$elProxy);var f=null,g=a(b).width(),h=e.elProxyPosition,i=e.$tooltip.outerWidth(!1),j=(e.$tooltip.innerWidth()+1,e.$tooltip.outerHeight(!1));if(e.$elProxy.is("area")){var k=e.$elProxy.attr("shape"),l=e.$elProxy.parent().attr("name"),m=a('img[usemap="#'+l+'"]'),n=m.offset().left,o=m.offset().top,p=void 0!==e.$elProxy.attr("coords")?e.$elProxy.attr("coords").split(","):void 0;if("circle"==k){var q=parseInt(p[0]),r=parseInt(p[1]),s=parseInt(p[2]);h.dimension.height=2*s,h.dimension.width=2*s,h.offset.top=o+r-s,h.offset.left=n+q-s}else if("rect"==k){var q=parseInt(p[0]),r=parseInt(p[1]),t=parseInt(p[2]),u=parseInt(p[3]);h.dimension.height=u-r,h.dimension.width=t-q,h.offset.top=o+r,h.offset.left=n+q}else if("poly"==k){for(var v=0,w=0,x=0,y=0,z="even",A=0;Ax&&(x=B,0===A&&(v=x)),By&&(y=B,1==A&&(w=y)),Bg){var K=2*parseFloat(e.$tooltip.css("border-width")),L=i+C-K;e.$tooltip.css("width",L+"px"),j=e.$tooltip.outerHeight(!1),C=h.offset.left-G-L-12-K,J=h.offset.top+j-(h.offset.top+h.dimension.height),E=h.offset.top-J/2-F}else C<0&&(C=h.offset.left+G+h.dimension.width+12,f="left")}if("right"==H){C=h.offset.left+G+h.dimension.width+12,D=h.offset.left-G-i-12;var J=h.offset.top+j-(h.offset.top+h.dimension.height);if(E=h.offset.top-J/2-F,C+i>g&&D<0){var K=2*parseFloat(e.$tooltip.css("border-width")),L=g-C-K;e.$tooltip.css("width",L+"px"),j=e.$tooltip.outerHeight(!1),J=h.offset.top+j-(h.offset.top+h.dimension.height),E=h.offset.top-J/2-F}else C+i>g&&(C=h.offset.left-G-i-12,f="right")}if(e.options.arrow){var M="ult-tooltipster-arrow-"+H;if(e.options.arrowColor.length<1)var N=e.$tooltip.css("background-color");else var N=e.options.arrowColor;if(f?"left"==f?(M="ult-tooltipster-arrow-right",f=""):"right"==f?(M="ult-tooltipster-arrow-left",f=""):f="left:"+Math.round(f)+"px;":f="","top"==H||"top-left"==H||"top-right"==H)var O=parseFloat(e.$tooltip.css("border-bottom-width")),P=e.$tooltip.css("border-bottom-color");else if("bottom"==H||"bottom-left"==H||"bottom-right"==H)var O=parseFloat(e.$tooltip.css("border-top-width")),P=e.$tooltip.css("border-top-color");else if("left"==H)var O=parseFloat(e.$tooltip.css("border-right-width")),P=e.$tooltip.css("border-right-color");else if("right"==H)var O=parseFloat(e.$tooltip.css("border-left-width")),P=e.$tooltip.css("border-left-color");else var O=parseFloat(e.$tooltip.css("border-bottom-width")),P=e.$tooltip.css("border-bottom-color");O>1&&O++;var Q="";if(0!==O){var R="",S="border-color: "+P+";";M.indexOf("bottom")!==-1?R="margin-top: -"+Math.round(O)+"px;":M.indexOf("top")!==-1?R="margin-bottom: -"+Math.round(O)+"px;":M.indexOf("left")!==-1?R="margin-right: -"+Math.round(O)+"px;":M.indexOf("right")!==-1&&(R="margin-left: -"+Math.round(O)+"px;"),Q=''}e.$tooltip.find(".ult-tooltipster-arrow").remove();var T='
'+Q+'
';e.$tooltip.append(T)}e.$tooltip.css({top:Math.round(E)+"px",left:Math.round(C)+"px"})}return e},enable:function(){return this.enabled=!0,this},disable:function(){return this.hide(),this.enabled=!1,this},destroy:function(){var b=this;b.hide(),b.$el[0]!==b.$elProxy[0]&&b.$elProxy.remove(),b.$el.removeData(b.namespace).off("."+b.namespace);var c=b.$el.data("ult-tooltipster-ns");if(1===c.length){var d="string"==typeof b.Content?b.Content:a("
").append(b.Content).html();b.$el.removeClass("ult-tooltipstered").attr("title",d).removeData(b.namespace).removeData("ult-tooltipster-ns").off("."+b.namespace)}else c=a.grep(c,function(a,c){return a!==b.namespace}),b.$el.data("ult-tooltipster-ns",c);return b},elementIcon:function(){return this.$el[0]!==this.$elProxy[0]?this.$elProxy[0]:void 0},elementTooltip:function(){return this.$tooltip?this.$tooltip[0]:void 0},option:function(a,b){return"undefined"==typeof b?this.options[a]:(this.options[a]=b,this)},status:function(){return this.Status}},a.fn[h]=function(){var b=arguments;if(0===this.length){if("string"==typeof b[0]){var c=!0;switch(b[0]){case"setDefaults":a.extend(i,b[1]);break;default:c=!1}return!!c||this}return this}if("string"==typeof b[0]){var e="#*$~&";return this.each(function(){var c=a(this).data("ult-tooltipster-ns"),d=c?a(this).data(c[0]):null;if(!d)throw new Error("You called Tooltipster's \""+b[0]+'" method on an uninitialized element');if("function"!=typeof d[b[0]])throw new Error('Unknown method .ult-tooltipster("'+b[0]+'")');var f=d[b[0]](b[1],b[2]);if(f!==d)return e=f,!1}),"#*$~&"!==e?e:this}var f=[],g=b[0]&&"undefined"!=typeof b[0].multiple,h=g&&b[0].multiple||!g&&i.multiple,j=b[0]&&"undefined"!=typeof b[0].debug,k=j&&b[0].debug||!j&&i.debug;return this.each(function(){var c=!1,e=a(this).data("ult-tooltipster-ns"),g=null;e?h?c=!0:k&&console.log('Tooltipster: one or more tooltips are already attached to this element: ignoring. Use the "multiple" option to attach more tooltips.'):c=!0,c&&(g=new d(this,b[0]),e||(e=[]),e.push(g.namespace),a(this).data("ult-tooltipster-ns",e),a(this).data(g.namespace,g)),f.push(g)}),h?f:this};var j=!!("ontouchstart"in b),k=!1;a("body").one("mousemove",function(){k=!0})}(jQuery,window,document),function(a,b,c){a(document).ready(function(c){function d(){var b="",d="";a('a[href="#"]').click(function(a){a.preventDefault()}),c(".ult_hotspot_container.ult-hotspot-tooltip-wrapper").each(function(){c(this);c(this).data("opacity")||.5;c(".ult-hotspot-tooltip[data-link_style='tootip']",c(this)).each(function(){if(a(this).find(".aio-icon-img").length>0)var e=a(this).find(".aio-icon-img").outerHeight(!0),f=a(this).find(".aio-icon-img").outerWidth(!0);else var e=jQuery(this).find(".aio-icon").outerHeight(!0),f=jQuery(this).find(".aio-icon").outerWidth(!0);var g=Math.round(e/2),h=Math.round(f/2),i=c(this).data("tooltipanimation"),j=c(this).data("trigger")||"hover",k=c(this).data("arrowposition")||"top",l=c(this).data("bubble-arrow"),m=c(this).data("tooltip-content-style"),n=c(this).data("tooltip-base-style"),o=c(this).find(".hotspot-tooltip-content").html();c(this).data("tooltip-offsety")||0;o=c(this).find(".hotspot-tooltip-content").html(o).text();var p=c(this).data("mycust-id");b=c(this).data("ultimate-target"),d=c(this).data("responsive-json-new"),d=JSON.stringify(d),"top"==k&&(g=0),"bottom"==k&&(g=e),"left"==k&&(g=-g,h=0),"right"==k&&(h=f,g=-g),/firefox/.test(navigator.userAgent.toLowerCase())&&(h=0,g=0),c(this).ulttooltipster({content:o,position:k,offsetX:h,offsetY:g,ultCustomTooltipStyle:!0,ultContentStyle:m,ultBaseStyle:n,arrow:l,delay:100,speed:300,interactive:!0,animation:i,trigger:j,contentAsHTML:1,ult_adv_id:p,responsive_json_new:d,ultimate_target:b})})})}d(),setTimeout(function(){a(b).load(function(){if(a(".ult_hotspot_container").length>0){var b=a(".ult_hotspot_container").find(".ult-hotspot-tooltip").attr("data-status")||"hide";"show"===b&&a(".ult-tooltipstered").ulttooltipster("destroy"),d()}})},700),a(document).ajaxComplete(function(a,b,c){d()})})}(jQuery,window),function(a,b,c){function d(b,c,d,e,f,g){""!=c&&(c>=768?a(b).find(".ult-ih-item, .ult-ih-img, .ult-ih-image-block, .ult-ih-list-item").css({height:d,width:e}):a(b).find(".ult-ih-item, .ult-ih-img, .ult-ih-image-block, .ult-ih-list-item").css({height:f,width:g}))}function e(){a(".ult-ih-list").each(function(c,e){var f=a(e).attr("data-shape"),g=a(e).attr("data-height"),h=a(e).attr("data-width"),i=a(e).attr("data-res_height"),j=a(e).attr("data-res_width"),k=jQuery(b).width()||"";a(e).find("li").each(function(){a(e).find(".ult-ih-item").addClass("ult-ih-"+f),d(e,k,g,h,i,j)})})}a(b).load(function(){a(".ult-ih-container").css({visibility:"visible",opacity:1})}),a(document).ready(function(){e(),a(document).ajaxComplete(function(a,b,c){e()})}),a(b).resize(function(){e()})}(jQuery,window),function(a){a(document).ready(function(){a(document).trigger("ultImageSeparator")}),a(window).load(function(){a(document).trigger("ultImageSeparator")}),a(document).on("ultImageSeparator",function(b){a(".ult-easy-separator-wrapper").each(function(b,c){var d=a(this).attr("data-vc-row"),e=a(this).parents("."+d+":first");e.hasClass("upb-background-text")&&(e=e.parents("."+d+":first")),a(this).appendTo(e).find(".ult-no-animation").css({opacity:"1"})})})}(jQuery),function(a){function b(){a(".ultb3-box").each(function(b,c){var d=a(c).outerHeight(),e=a(c).find(".ultb3-info").outerHeight(),f=(d-e)/2;a(c).find(".ultb3-info").css({top:f})})}a(document).ready(function(){b(),a(window).resize(function(){b()}),jQuery(".ultb3-box .ultb3-info").each(function(){if(jQuery(this).attr("data-animation")){jQuery(this).css("opacity","0");var a=jQuery(this).attr("data-animation"),b="delay-"+jQuery(this).attr("data-animation-delay");jQuery(this).bsf_appear(function(){var c=jQuery(this);c.addClass("animated").addClass(a),c.addClass("animated").addClass(b),c.css("opacity","1")},{accY:-70})}})}),a(window).load(function(){b()})}(jQuery),jQuery(window).load(function(a){info_box_set_auto_height()}),jQuery(document).ready(function(a){info_box_set_auto_height(),jQuery(window).resize(function(a){info_box_set_auto_height()})});var resizedd=0,time_f_arr=[];jQuery(document).ready(function(){make_info_circle(".info-c-full-br",0),responsive_check(".info-c-full-br"),calculate_clipped_circle(),jQuery(".clipped-info-circle").each(function(a,b){var c=jQuery(this).outerHeight(),d=jQuery(this).outerWidth();jQuery(this).attr("data-first-width",d),jQuery(this).attr("data-first-height",c)}),jQuery(window).resize(function(){resizedd++,make_info_circle(".info-c-full-br",resizedd),calculate_clipped_circle()}),jQuery(window).load(function(){resizedd++,make_info_circle(".info-c-full-br",resizedd),calculate_clipped_circle()}),jQuery(document).on("ultAdvancedTabClicked",function(){resizedd++,make_info_circle(".info-c-full-br",resizedd),calculate_clipped_circle()}),jQuery(".info-c-full-br").each(function(){"click"==jQuery(this).data("focus-on")&&jQuery(this).find(".icon-circle-list .info-circle-icons").click(function(){ var a=jQuery(this);jQuery(this).parents(".info-c-full-br").attr("data-slide-true","false"),show_next_info_circle(a)}),"hover"==jQuery(this).data("focus-on")&&jQuery(this).find(".icon-circle-list .info-circle-icons").hover(function(){var a=jQuery(this);jQuery(this).parents(".info-c-full-br").attr("data-slide-true","false"),show_next_info_circle(a)},function(){})}),setTimeout(function(){jQuery(".info-c-full-br").each(function(){var a=jQuery(this).data("slide-duration");a||(a=.2),jQuery(this).attr("data-slide-number","1"),info_circle_slide(1e3*a,jQuery(this));var b=jQuery(this).find(".info-circle-icons").eq(0);show_next_info_circle(b)})},1e3)}),jQuery(window).load(function(){jQuery(".info-c-full-br").each(function(){"on"==jQuery(this).attr("data-slide-true")&&jQuery(this).hover(function(){jQuery(this).attr("data-slide-true","off")},function(){jQuery(this).attr("data-slide-true","on")})})}),jQuery(document).ready(function(a){jQuery(".icon_list_item").each(function(a,b){var c=jQuery(this),d=c.find(".info-circle-img-icon").length;d>=1&&c.closest("ul.smile_icon_list").addClass("ic-resp-img")})}),function(a){a.fn.bsf_appear=function(b,c){var d=a.extend({data:void 0,one:!0,accX:0,accY:0},c);return this.each(function(){var c=a(this);if(c.bsf_appeared=!1,!b)return void c.trigger("bsf_appear",d.data);var e=a(window),f=function(){if(!c.is(":visible"))return void(c.bsf_appeared=!1);var a=e.scrollLeft(),b=e.scrollTop(),f=c.offset(),g=f.left,h=f.top,i=d.accX,j=d.accY,k=c.height(),l=e.height(),m=c.width(),n=e.width();h+k+j>=b&&h<=b+l+j&&g+m+i>=a&&g<=a+n+i?c.bsf_appeared||c.trigger("bsf_appear",d.data):c.bsf_appeared=!1},g=function(){if(c.bsf_appeared=!0,d.one){e.unbind("scroll",f);var g=a.inArray(f,a.fn.bsf_appear.checks);g>=0&&a.fn.bsf_appear.checks.splice(g,1)}b.apply(this,arguments)};d.one?c.one("bsf_appear",d.data,g):c.bind("bsf_appear",d.data,g),e.scroll(f),a.fn.bsf_appear.checks.push(f),f()})},a.extend(a.fn.bsf_appear,{checks:[],timeout:null,checkAll:function(){var b=a.fn.bsf_appear.checks.length;if(b>0)for(;b--;)a.fn.bsf_appear.checks[b]()},run:function(){a.fn.bsf_appear.timeout?clearTimeout(a.fn.bsf_appear.timeout):a.fn.bsf_appear.timeout=setTimeout(a.fn.bsf_appear.checkAll,20)}}),a.each(["append","prepend","after","before","attr","removeAttr","addClass","removeClass","toggleClass","remove","css","show","hide"],function(b,c){var d=a.fn[c];d&&(a.fn[c]=function(){var b=d.apply(this,arguments);return a.fn.bsf_appear.run(),b})})}(jQuery),function(){var a,b;a=this.jQuery||window.jQuery,b=a(window),a.fn.stick_in_parent=function(c){var d,e,f,g,h,i,j,k,l,m,n,o;for(null==c&&(c={}),o=c.sticky_class,i=c.inner_scrolling,n=c.recalc_every,m=c.parent,l=c.offset_top,k=c.spacer,f=c.bottoming,null==l&&(l=0),null==m&&(m=void 0),null==i&&(i=!0),null==o&&(o="is_stuck"),d=a(document),null==f&&(f=!0),g=function(c,e,g,h,j,p,q,r){var s,t,u,v,w,x,y,z,A,B,C,D;if(!c.data("sticky_kit")){if(c.data("sticky_kit",!0),w=d.height(),y=c.parent(),null!=m&&(y=y.closest(m)),!y.length)throw"failed to find stick parent";if(u=!1,s=!1,C=null!=k?k&&c.closest(k):a("
"),C&&C.css("position",c.css("position")),z=function(){var a,b,f;if(!r)return w=d.height(),a=parseInt(y.css("border-top-width"),10),b=parseInt(y.css("padding-top"),10),e=parseInt(y.css("padding-bottom"),10),g=y.offset().top+a+b,h=y.height(),u&&(u=!1,s=!1,null==k&&(c.insertAfter(C),C.detach()),c.css({position:"",top:"",width:"",bottom:""}).removeClass(o),f=!0),j=c.offset().top-(parseInt(c.css("margin-top"),10)||0)-l,p=c.outerHeight(!0),q=c.css("float"),C&&C.css({width:c.outerWidth(!0),height:p,display:c.css("display"),"vertical-align":c.css("vertical-align"),float:q}),f?D():void 0},z(),p!==h)return v=void 0,x=l,B=n,D=function(){var a,m,t,A,D,E;if(!r)return t=!1,null!=B&&(B-=1,B<=0&&(B=n,z(),t=!0)),t||d.height()===w||(z(),t=!0),A=b.scrollTop(),null!=v&&(m=A-v),v=A,u?(f&&(D=A+p+x>h+g,s&&!D&&(s=!1,c.css({position:"fixed",bottom:"",top:x}).trigger("sticky_kit:unbottom"))),AE&&(s||(x-=m,x=Math.max(E-p,x),x=Math.min(l,x),u&&c.css({top:x+"px"}))))):A>j&&(u=!0,a={position:"fixed",top:x},a.width="border-box"===c.css("box-sizing")?c.outerWidth()+"px":c.width()+"px",c.css(a).addClass(o),null==k&&(c.after(C),"left"!==q&&"right"!==q||C.append(c)),c.trigger("sticky_kit:stick")),u&&f&&(null==D&&(D=A+p+x>h+g),!s&&D)?(s=!0,"static"===y.css("position")&&y.css({position:"relative"}),c.css({position:"absolute",bottom:e,top:"auto"}).trigger("sticky_kit:bottom")):void 0},A=function(){return z(),D()},t=function(){if(r=!0,b.off("touchmove",D),b.off("scroll",D),b.off("resize",A),a(document.body).off("sticky_kit:recalc",A),c.off("sticky_kit:detach",t),c.removeData("sticky_kit"),c.css({position:"",bottom:"",top:"",width:""}),y.position("position",""),u)return null==k&&("left"!==q&&"right"!==q||c.insertAfter(C),C.remove()),c.removeClass(o)},b.on("touchmove",D),b.on("scroll",D),b.on("resize",A),a(document.body).on("sticky_kit:recalc",A),c.on("sticky_kit:detach",t),setTimeout(D,0)}},h=0,j=this.length;hb?c:b,f=f>d?f:d});var A=f+"px "+c+"px 35px";h.css("padding",A)}"on"==r&&(x.find(".ult-description").each(function(){var b=a(this).outerHeight();g=g>b?g:b}),g=g+30+"px",x.find(".ult-desc-wrap").css("min-height",g)),h.find(".ui-slider-labels").children(".ui-slider-label-ticks").css("background",k);var B={},C="background";B[C]=o;var D=y.find(".ui-slider-handle");y.css("background",k),D.css(B),y.find(".ui-slider-range").css("background",n)})}),function(a){a(document).ready(function(){a(".ult-carousel-wrapper").each(function(){var b=a(this);if(b.hasClass("ult_full_width")){b.css("left",0),b.css("right",0);var c=b.attr("data-rtl"),d=a("html").outerWidth(),e=0,f=b.offset().left,g=Math.abs(e-f),h=g;"true"===c||c===!0?b.css({position:"relative",right:"-"+h+"px",width:d+"px"}):b.css({position:"relative",left:"-"+h+"px",width:d+"px"})}}),a(".ult-carousel-wrapper").each(function(b,c){var d=a(c).data("gutter"),e=a(c).attr("id");if(""!=d){var f="";a("head").append(f)}}),a(window).resize(function(){a(".ult-carousel-wrapper").each(function(){var b=a(this);if(b.hasClass("ult_full_width")){var c=b.attr("data-rtl");b.removeAttr("style");var d=a("html").outerWidth(),e=0,f=b.offset().left,g=Math.abs(e-f),h=g;"true"===c||c===!0?b.css({position:"relative",right:"-"+h+"px",width:d+"px"}):b.css({position:"relative",left:"-"+h+"px",width:d+"px"})}})})}),a(window).load(function(){a(".ult-carousel-wrapper").each(function(){var b=a(this);if(b.hasClass("ult_full_width")){b.css("left",0),b.css("right",0);var c=0,d=b.offset().left,e=Math.abs(c-d),f=b.attr("data-rtl"),g=a("html").outerWidth(),h=e;"true"===f||f===!0?b.css({position:"relative",right:"-"+h+"px",width:g+"px"}):b.css({position:"relative",left:"-"+h+"px",width:g+"px"})}})})}(jQuery),!function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):"undefined"!=typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){"use strict";var b=window.Slick||{};b=function(){function b(b,d){var e,f=this;f.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:a(b),appendDots:a(b),arrows:!0,asNavFor:null,prevArrow:'',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(b,c){return a('',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},t.fn.magnificPopup=function(i){S();var o=t(this);if("string"==typeof i)if("open"===i){var n,s=b?o.data("magnificPopup"):o[0].magnificPopup,r=parseInt(arguments[1],10)||0;s.items?n=s.items[r]:(n=o,s.delegate&&(n=n.find(s.delegate)),n=n.eq(r)),e._openClick({mfpEl:n},o,s)}else e.isOpen&&e[i].apply(e,Array.prototype.slice.call(arguments,1));else i=t.extend(!0,{},i),b?o.data("magnificPopup",i):o[0].magnificPopup=i,e.addGroup(o,i);return o};var E,k,A,W="inline",L=function(){A&&(k.after(A.addClass(E)).detach(),A=null)};t.magnificPopup.registerModule(W,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){e.types.push(W),z(a+"."+W,function(){L()})},getInline:function(i,o){if(L(),i.src){var n=e.st.inline,s=t(i.src);if(s.length){var r=s[0].parentNode;r&&r.tagName&&(k||(E=n.hiddenClass,k=C(E),E="mfp-"+E),A=s.after(k).detach().removeClass(E)),e.updateStatus("ready")}else e.updateStatus("error",n.tNotFound),s=t("
");return i.inlineElement=s,s}return e.updateStatus("ready"),e._parseMarkup(o,{},i),o}}});var O,P="ajax",B=function(){O&&t(document.body).removeClass(O)},D=function(){B(),e.req&&e.req.abort()};t.magnificPopup.registerModule(P,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'The content could not be loaded.'},proto:{initAjax:function(){e.types.push(P),O=e.st.ajax.cursor,z(a+"."+P,D),z("BeforeChange."+P,D)},getAjax:function(i){O&&t(document.body).addClass(O),e.updateStatus("loading");var o=t.extend({url:i.src,success:function(o,n,s){var r={data:o,xhr:s};_("ParseAjax",r),e.appendContent(t(r.data),P),i.finished=!0,B(),e._setFocus(),setTimeout(function(){e.wrap.addClass(g)},16),e.updateStatus("ready"),_("AjaxContentAdded")},error:function(){B(),i.finished=i.loadError=!0,e.updateStatus("error",e.st.ajax.tError.replace("%url%",i.src))}},e.st.ajax.settings);return e.req=t.ajax(o),""}}});var R,M=function(i){if(i.data&&void 0!==i.data.title)return i.data.title;var o=e.st.image.titleSrc;if(o){if(t.isFunction(o))return o.call(e,i);if(i.el)return i.el.attr(o)||""}return""};t.magnificPopup.registerModule("image",{options:{markup:'
',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'The image could not be loaded.'},proto:{initImage:function(){var i=e.st.image,o=".image";e.types.push("image"),z(p+o,function(){"image"===e.currItem.type&&i.cursor&&t(document.body).addClass(i.cursor)}),z(a+o,function(){i.cursor&&t(document.body).removeClass(i.cursor),x.off("resize"+m)}),z("Resize"+o,e.resizeImage),e.isLowIE&&z("AfterChange",e.resizeImage)},resizeImage:function(){var t=e.currItem;if(t&&t.img&&e.st.image.verticalFit){var i=0;e.isLowIE&&(i=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",e.wH-i)}},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,R&&clearInterval(R),t.isCheckingImgSize=!1,_("ImageHasSize",t),t.imgHidden&&(e.content&&e.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(t){var i=0,o=t.img[0],n=function(s){R&&clearInterval(R),R=setInterval(function(){return o.naturalWidth>0?void e._onImageHasSize(t):(i>200&&clearInterval(R),i++,void(3===i?n(10):40===i?n(50):100===i&&n(500)))},s)};n(1)},getImage:function(i,o){var n=0,s=function(){i&&(i.img[0].complete?(i.img.off(".mfploader"),i===e.currItem&&(e._onImageHasSize(i),e.updateStatus("ready")),i.hasSize=!0,i.loaded=!0,_("ImageLoadComplete")):(n++,200>n?setTimeout(s,100):r()))},r=function(){i&&(i.img.off(".mfploader"),i===e.currItem&&(e._onImageHasSize(i),e.updateStatus("error",a.tError.replace("%url%",i.src))),i.hasSize=!0,i.loaded=!0,i.loadError=!0)},a=e.st.image,l=o.find(".mfp-img");if(l.length){var h=document.createElement("img");h.className="mfp-img",i.el&&i.el.find("img").length&&(h.alt=i.el.find("img").attr("alt")),i.img=t(h).on("load.mfploader",s).on("error.mfploader",r),h.src=i.src,l.is("img")&&(i.img=i.img.clone()),h=i.img[0],h.naturalWidth>0?i.hasSize=!0:h.width||(i.hasSize=!1)}return e._parseMarkup(o,{title:M(i),img_replaceWith:i.img},i),e.resizeImage(),i.hasSize?(R&&clearInterval(R),i.loadError?(o.addClass("mfp-loading"),e.updateStatus("error",a.tError.replace("%url%",i.src))):(o.removeClass("mfp-loading"),e.updateStatus("ready")),o):(e.updateStatus("loading"),i.loading=!0,i.hasSize||(i.imgHidden=!0,o.addClass("mfp-loading"),e.findImageSize(i)),o)}}});var j,H=function(){return void 0===j&&(j=void 0!==document.createElement("p").style.MozTransform),j};t.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,i=e.st.zoom,o=".zoom";if(i.enabled&&e.supportsTransition){var n,s,r=i.duration,h=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),o="all "+i.duration/1e3+"s "+i.easing,n={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},s="transition";return n["-webkit-"+s]=n["-moz-"+s]=n["-o-"+s]=n[s]=o,e.css(n),e},c=function(){e.content.css("visibility","visible")};z("BuildControls"+o,function(){if(e._allowZoom()){if(clearTimeout(n),e.content.css("visibility","hidden"),t=e._getItemToZoom(),!t)return void c();s=h(t),s.css(e._getOffset()),e.wrap.append(s),n=setTimeout(function(){s.css(e._getOffset(!0)),n=setTimeout(function(){c(),setTimeout(function(){s.remove(),t=s=null,_("ZoomAnimationEnded")},16)},r)},16)}}),z(l+o,function(){if(e._allowZoom()){if(clearTimeout(n),e.st.removalDelay=r,!t){if(t=e._getItemToZoom(),!t)return;s=h(t)}s.css(e._getOffset(!0)),e.wrap.append(s),e.content.css("visibility","hidden"),setTimeout(function(){s.css(e._getOffset())},16)}}),z(a+o,function(){e._allowZoom()&&(c(),s&&s.remove(),t=null)})}},_allowZoom:function(){return"image"===e.currItem.type},_getItemToZoom:function(){return e.currItem.hasSize?e.currItem.img:!1},_getOffset:function(i){var o;o=i?e.currItem.img:e.st.zoom.opener(e.currItem.el||e.currItem);var n=o.offset(),s=parseInt(o.css("padding-top"),10),r=parseInt(o.css("padding-bottom"),10);n.top-=t(window).scrollTop()-s;var a={width:o.width(),height:(b?o.innerHeight():o[0].offsetHeight)-r-s};return H()?a["-moz-transform"]=a.transform="translate("+n.left+"px,"+n.top+"px)":(a.left=n.left,a.top=n.top),a}}});var $="iframe",F="//about:blank",N=function(t){if(e.currTemplate[$]){var i=e.currTemplate[$].find("iframe");i.length&&(t||(i[0].src=F),e.isIE8&&i.css("display",t?"block":"none"))}};t.magnificPopup.registerModule($,{options:{markup:'
',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){e.types.push($),z("BeforeChange",function(t,e,i){e!==i&&(e===$?N():i===$&&N(!0))}),z(a+"."+$,function(){N()})},getIframe:function(i,o){var n=i.src,s=e.st.iframe;t.each(s.patterns,function(){return n.indexOf(this.index)>-1?(this.id&&(n="string"==typeof this.id?n.substr(n.lastIndexOf(this.id)+this.id.length,n.length):this.id.call(this,n)),n=this.src.replace("%id%",n),!1):void 0});var r={};return s.srcAction&&(r[s.srcAction]=n),e._parseMarkup(o,r,i),e.updateStatus("ready"),o}}});var q=function(t){var i=e.items.length;return t>i-1?t-i:0>t?i+t:t},Q=function(t,e,i){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,i)};t.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var i=e.st.gallery,n=".mfp-gallery";return e.direction=!0,i&&i.enabled?(s+=" mfp-gallery",z(p+n,function(){i.navigateByImgClick&&e.wrap.on("click"+n,".mfp-img",function(){return e.items.length>1?(e.next(),!1):void 0}),o.on("keydown"+n,function(t){37===t.keyCode?e.prev():39===t.keyCode&&e.next()})}),z("UpdateStatus"+n,function(t,i){i.text&&(i.text=Q(i.text,e.currItem.index,e.items.length))}),z(d+n,function(t,o,n,s){var r=e.items.length;n.counter=r>1?Q(i.tCounter,s.index,r):""}),z("BuildControls"+n,function(){if(e.items.length>1&&i.arrows&&!e.arrowLeft){var o=i.arrowMarkup,n=e.arrowLeft=t(o.replace(/%title%/gi,i.tPrev).replace(/%dir%/gi,"left")).addClass(y),s=e.arrowRight=t(o.replace(/%title%/gi,i.tNext).replace(/%dir%/gi,"right")).addClass(y);n.click(function(){e.prev()}),s.click(function(){e.next()}),e.container.append(n.add(s))}}),z(u+n,function(){e._preloadTimeout&&clearTimeout(e._preloadTimeout),e._preloadTimeout=setTimeout(function(){e.preloadNearbyImages(),e._preloadTimeout=null},16)}),void z(a+n,function(){o.off(n),e.wrap.off("click"+n),e.arrowRight=e.arrowLeft=null})):!1},next:function(){e.direction=!0,e.index=q(e.index+1),e.updateItemHTML()},prev:function(){e.direction=!1,e.index=q(e.index-1),e.updateItemHTML()},goTo:function(t){e.direction=t>=e.index,e.index=t,e.updateItemHTML()},preloadNearbyImages:function(){var t,i=e.st.gallery.preload,o=Math.min(i[0],e.items.length),n=Math.min(i[1],e.items.length);for(t=1;t<=(e.direction?n:o);t++)e._preloadItem(e.index+t);for(t=1;t<=(e.direction?o:n);t++)e._preloadItem(e.index-t)},_preloadItem:function(i){if(i=q(i),!e.items[i].preloaded){var o=e.items[i];o.parsed||(o=e.parseEl(i)),_("LazyLoad",o),"image"===o.type&&(o.img=t('').on("load.mfploader",function(){o.hasSize=!0}).on("error.mfploader",function(){o.hasSize=!0,o.loadError=!0,_("LazyLoadError",o) }).attr("src",o.src)),o.preloaded=!0}}}});var U="retina";t.magnificPopup.registerModule(U,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var t=e.st.retina,i=t.ratio;i=isNaN(i)?i():i,i>1&&(z("ImageHasSize."+U,function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/i,width:"100%"})}),z("ElementParse."+U,function(e,o){o.src=t.replaceSrc(o,i)}))}}}}),S()}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=function(e,i){return void 0===i&&(i="undefined"!=typeof window?require("jquery"):require("jquery")(e)),t(i),i}:t(jQuery)}(function(t){"use strict";var e="selectric",i="Input Items Open Disabled TempShow HideSelect Wrapper Hover Responsive Above Scroll Group GroupLabel",o=".sl",n={onChange:function(e){t(e).change()},maxHeight:300,keySearchTimeout:500,arrowButtonMarkup:'',disableOnMobile:!0,openOnHover:!1,hoverIntentTimeout:500,expandToItemText:!1,responsive:!1,preventWindowScroll:!0,inheritOriginalWidth:!1,allowWrap:!0,customClass:{prefix:e,camelCase:!1},optionsItemBuilder:"{text}",labelBuilder:"{text}"},s={add:function(t,e,i){this[t]||(this[t]={}),this[t][e]=i},remove:function(t,e){delete this[t][e]}},r={replaceDiacritics:function(t){for(var e="40-46 50-53 54-57 62-70 71-74 61 47 77".replace(/\d+/g,"\\3$&").split(" "),i=e.length;i--;)t=t.toLowerCase().replace(RegExp("["+e[i]+"]","g"),"aeiouncy".charAt(i));return t},format:function(t){var e=arguments;return(""+t).replace(/{(\d+|(\w+))}/g,function(t,i,o){return o&&e[1]?e[1][o]:e[i]})},nextEnabledItem:function(t,e){for(;t[e=(e+1)%t.length].disabled;);return e},previousEnabledItem:function(t,e){for(;t[e=(e>0?e:t.length)-1].disabled;);return e},toDash:function(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},triggerCallback:function(i,o){var n=o.element,a=o.options["on"+i];t.isFunction(a)&&a.call(n,n,o),s[i]&&t.each(s[i],function(){this.call(n,n,o)}),t(n).trigger(e+"-"+r.toDash(i),o)}},a=t(document),l=t(window),h=function(s,h){function c(e){if(D.options=t.extend(!0,{},n,D.options,e),D.classes={},D.element=s,r.triggerCallback("BeforeInit",D),D.options.disableOnMobile&&H)return void(D.disableOnMobile=!0);b(!0);var o=D.options.customClass,a=i.split(" "),l=R.width();t.each(a,function(t,e){var i=o.prefix+e;D.classes[e.toLowerCase()]=o.camelCase?i:r.toDash(i)}),x=t("",{"class":D.classes.input,readonly:H}),z=t("
",{"class":D.classes.items,tabindex:-1}),C=t("
",{"class":D.classes.scroll}),_=t("
",{"class":o.prefix,html:D.options.arrowButtonMarkup}),T=t('

'),S=R.wrap("

").parent().append(_.prepend(T),z,x),P={open:m,close:v,destroy:b,refresh:p,init:c},R.on(P).wrap('
'),t.extend(D,P),B=D.options.labelBuilder,D.options.inheritOriginalWidth&&l>0&&S.width(l),d()}function d(){D.items=[];var e=R.children(),i="
    ",n=R.find("option"),s=n.index(n.filter(":selected")),a=0;k=E=~s?s:0,(O=e.length)&&(e.each(function(){function e(){var e=t(this),o=e.html(),n=e.prop("disabled"),s=D.options.optionsItemBuilder;D.items[a]={element:e,value:e.val(),text:o,slug:r.replaceDiacritics(o),disabled:n},i+=r.format('
  • {3}
  • ',a,t.trim([a==k?"selected":"",a==O-1?"last":"",n?"disabled":""].join(" ")),t.isFunction(s)?s(D.items[a],e,a):r.format(s,D.items[a])),a++}var o=t(this);if(o.is("optgroup")){var n=o.prop("disabled"),s=o.children();i+=r.format('
    • {3}
    • ',t.trim([D.classes.group,n?"disabled":"",o.prop("class")].join(" ")),D.classes.grouplabel,o.prop("label")),n&&s.prop("disabled",!0),s.each(e),i+="
    "}else e.call(o)}),z.append(C.html(i+"
")),T.html(t.isFunction(B)?B(D.items[k]):r.format(B,D.items[k]))),_.add(R).add(S).add(x).off(o),S.prop("class",[D.classes.wrapper,R.prop("class").replace(/\S+/g,D.options.customClass.prefix+"-$&"),D.options.responsive?D.classes.responsive:""].join(" ")),R.prop("disabled")?(S.addClass(D.classes.disabled),x.prop("disabled",!0)):(j=!0,S.removeClass(D.classes.disabled).on("mouseenter"+o+" mouseleave"+o,function(e){t(this).toggleClass(D.classes.hover),D.options.openOnHover&&(clearTimeout(D.closeTimer),"mouseleave"==e.type?D.closeTimer=setTimeout(v,D.options.hoverIntentTimeout):m())}),_.on("click"+o,function(t){M?v():m(t)}),x.prop({tabindex:$,disabled:!1}).on("keypress"+o,u).on("keydown"+o,function(t){u(t),clearTimeout(D.resetStr),D.resetStr=setTimeout(function(){x.val("")},D.options.keySearchTimeout);var e=t.keyCode||t.which;if(e>36&&41>e){if(!D.options.allowWrap&&(39>e&&0==E||e>38&&E+1==D.items.length))return;y(r[(39>e?"previous":"next")+"EnabledItem"](D.items,E))}}).on("focusin"+o,function(t){M||m(t)}).on("oninput"in x[0]?"input":"keyup",function(){x.val().length&&t.each(D.items,function(t,e){return RegExp("^"+x.val(),"i").test(e.slug)&&!e.disabled?(y(t),!1):void 0})}),R.prop("tabindex",!1),I=t("li",z.removeAttr("style")).on({mousedown:function(t){t.preventDefault(),t.stopPropagation()},click:function(){return y(t(this).data("index"),!0),!1}}).filter("[data-index]")),r.triggerCallback("Init",D)}function p(){r.triggerCallback("Refresh",D),d()}function u(t){var e=t.keyCode||t.which;13==e&&t.preventDefault(),/^(9|13|27)$/.test(e)&&(t.stopPropagation(),y(E,!0))}function f(){var t=z.closest(":visible").children(":hidden").addClass(D.classes.tempshow),e=D.options.maxHeight,i=z.outerWidth(),o=_.outerWidth()-(i-z.width());!D.options.expandToItemText||o>i?L=o:(z.css("overflow","scroll"),S.width(9e4),L=z.width(),z.css("overflow",""),S.width("")),z.width(L).height()>e&&z.height(e),t.removeClass(D.classes.tempshow)}function m(i){r.triggerCallback("BeforeOpen",D),i&&(i.preventDefault(),i.stopPropagation()),j&&(f(),t("."+D.classes.hideselect,"."+D.classes.open).children()[e]("close"),M=!0,A=z.outerHeight(),W=z.height(),S.addClass(D.classes.open),x.val(""),i&&"focusin"!==i.type&&x.focus(),a.on("click"+o,v).on("scroll"+o,g),g(),D.options.preventWindowScroll&&a.on("mousewheel"+o+" DOMMouseScroll"+o,"."+D.classes.scroll,function(e){var i=e.originalEvent,o=t(this).scrollTop(),n=0;"detail"in i&&(n=-1*i.detail),"wheelDelta"in i&&(n=i.wheelDelta),"wheelDeltaY"in i&&(n=i.wheelDeltaY),"deltaY"in i&&(n=-1*i.deltaY),(o==this.scrollHeight-W&&0>n||0==o&&n>0)&&e.preventDefault()}),w(E),r.triggerCallback("Open",D))}function g(){var t=l.scrollTop(),e=l.height(),i=S.offset().top,o=S.outerHeight(),n=t+e>=i+o+A,s=i-A>t,r=!n&&s;S.toggleClass(D.classes.above,r)}function v(){if(r.triggerCallback("BeforeClose",D),k!=E){r.triggerCallback("BeforeChange",D);var e=D.items[E].text;R.prop("selectedIndex",k=E).data("value",e),T.html(t.isFunction(B)?B(D.items[E]):r.format(B,D.items[E])),r.triggerCallback("Change",D)}a.off(o),S.removeClass(D.classes.open),M=!1,r.triggerCallback("Close",D)}function y(t,e){void 0!=t&&(D.items[t].disabled||(I.removeClass("selected").eq(E=t).addClass("selected"),w(t),e&&v()))}function w(t){var e=I.eq(t).outerHeight(),i=I[t].offsetTop,o=C.scrollTop(),n=i+2*e;C.scrollTop(n>o+A?n-A:o>i-e?i-e:o)}function b(t){j&&(z.add(_).add(x).remove(),!t&&R.removeData(e).removeData("value"),R.prop("tabindex",$).off(o).off(P).unwrap().unwrap(),j=!1)}var x,z,C,_,T,S,I,E,k,A,W,L,O,P,B,D=this,R=t(s),M=!1,j=!1,H=/android|ip(hone|od|ad)/i.test(navigator.userAgent),$=R.prop("tabindex");c(h)};t.fn[e]=function(i){return this.each(function(){var o=t.data(this,e);o&&!o.disableOnMobile?""+i===i&&o[i]?o[i]():o.init(i):t.data(this,e,new h(this,i))})},t.fn[e].hooks=s});}catch(e){} try{ !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){return function(){function b(a,b,c){return[parseFloat(a[0])*(n.test(a[0])?b/100:1),parseFloat(a[1])*(n.test(a[1])?c/100:1)]}function c(b,c){return parseInt(a.css(b,c),10)||0}function d(b){var c=b[0];return 9===c.nodeType?{width:b.width(),height:b.height(),offset:{top:0,left:0}}:a.isWindow(c)?{width:b.width(),height:b.height(),offset:{top:b.scrollTop(),left:b.scrollLeft()}}:c.preventDefault?{width:0,height:0,offset:{top:c.pageY,left:c.pageX}}:{width:b.outerWidth(),height:b.outerHeight(),offset:b.offset()}}a.ui=a.ui||{};var e,f,g=Math.max,h=Math.abs,i=Math.round,j=/left|center|right/,k=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,m=/^\w+/,n=/%$/,o=a.fn.position;a.position={scrollbarWidth:function(){if(void 0!==e)return e;var b,c,d=a("
"),f=d.children()[0];return a("body").append(d),b=f.offsetWidth,d.css("overflow","scroll"),c=f.offsetWidth,b===c&&(c=d[0].clientWidth),d.remove(),e=b-c},getScrollInfo:function(b){var c=b.isWindow||b.isDocument?"":b.element.css("overflow-x"),d=b.isWindow||b.isDocument?"":b.element.css("overflow-y"),e="scroll"===c||"auto"===c&&b.width0?"right":"center",vertical:f<0?"top":d>0?"bottom":"middle"};pg(h(d),h(f))?i.important="horizontal":i.important="vertical",e.using.call(this,a,i)}),k.offset(a.extend(B,{using:j}))})},a.ui.position={fit:{left:function(a,b){var c,d=b.within,e=d.isWindow?d.scrollLeft:d.offset.left,f=d.width,h=a.left-b.collisionPosition.marginLeft,i=e-h,j=h+b.collisionWidth-f-e;b.collisionWidth>f?i>0&&j<=0?(c=a.left+i+b.collisionWidth-f-e,a.left+=i-c):j>0&&i<=0?a.left=e:i>j?a.left=e+f-b.collisionWidth:a.left=e:i>0?a.left+=i:j>0?a.left-=j:a.left=g(a.left-h,a.left)},top:function(a,b){var c,d=b.within,e=d.isWindow?d.scrollTop:d.offset.top,f=b.within.height,h=a.top-b.collisionPosition.marginTop,i=e-h,j=h+b.collisionHeight-f-e;b.collisionHeight>f?i>0&&j<=0?(c=a.top+i+b.collisionHeight-f-e,a.top+=i-c):j>0&&i<=0?a.top=e:i>j?a.top=e+f-b.collisionHeight:a.top=e:i>0?a.top+=i:j>0?a.top-=j:a.top=g(a.top-h,a.top)}},flip:{left:function(a,b){var c,d,e=b.within,f=e.offset.left+e.scrollLeft,g=e.width,i=e.isWindow?e.scrollLeft:e.offset.left,j=a.left-b.collisionPosition.marginLeft,k=j-i,l=j+b.collisionWidth-g-i,m="left"===b.my[0]?-b.elemWidth:"right"===b.my[0]?b.elemWidth:0,n="left"===b.at[0]?b.targetWidth:"right"===b.at[0]?-b.targetWidth:0,o=-2*b.offset[0];k<0?(c=a.left+m+n+o+b.collisionWidth-g-f,(c<0||c0&&(d=a.left-b.collisionPosition.marginLeft+m+n+o-i,(d>0||h(d)0&&(c=a.top-b.collisionPosition.marginTop+n+o+p-i,(c>0||h(c)10&&e<11,b.innerHTML="",c.removeChild(b)}()}(),a.ui.position});}catch(e){} try{(function(t,e){if(typeof define==="function"&&define.amd){define(["jquery"],e)}else if(typeof exports==="object"){module.exports=e(require("jquery"))}else{e(t.jQuery)}})(this,function(t){t.transit={version:"0.9.11",propertyMap:{marginLeft:"margin",marginRight:"margin",marginBottom:"margin",marginTop:"margin",paddingLeft:"padding",paddingRight:"padding",paddingBottom:"padding",paddingTop:"padding"},enabled:true,useTransitionEnd:false};var e=document.createElement("div");var n={};function i(t){if(t in e.style)return t;var n=["Moz","Webkit","O","ms"];var i=t.charAt(0).toUpperCase()+t.substr(1);for(var r=0;r-1;n.transition=i("transition");n.transitionDelay=i("transitionDelay");n.transform=i("transform");n.transformOrigin=i("transformOrigin");n.filter=i("Filter");n.transform3d=r();var a={transition:"transitionend",MozTransition:"transitionend",OTransition:"oTransitionEnd",WebkitTransition:"webkitTransitionEnd",msTransition:"MSTransitionEnd"};var o=n.transitionEnd=a[n.transition]||null;for(var u in n){if(n.hasOwnProperty(u)&&typeof t.support[u]==="undefined"){t.support[u]=n[u]}}e=null;t.cssEase={_default:"ease","in":"ease-in",out:"ease-out","in-out":"ease-in-out",snap:"cubic-bezier(0,1,.5,1)",easeInCubic:"cubic-bezier(.550,.055,.675,.190)",easeOutCubic:"cubic-bezier(.215,.61,.355,1)",easeInOutCubic:"cubic-bezier(.645,.045,.355,1)",easeInCirc:"cubic-bezier(.6,.04,.98,.335)",easeOutCirc:"cubic-bezier(.075,.82,.165,1)",easeInOutCirc:"cubic-bezier(.785,.135,.15,.86)",easeInExpo:"cubic-bezier(.95,.05,.795,.035)",easeOutExpo:"cubic-bezier(.19,1,.22,1)",easeInOutExpo:"cubic-bezier(1,0,0,1)",easeInQuad:"cubic-bezier(.55,.085,.68,.53)",easeOutQuad:"cubic-bezier(.25,.46,.45,.94)",easeInOutQuad:"cubic-bezier(.455,.03,.515,.955)",easeInQuart:"cubic-bezier(.895,.03,.685,.22)",easeOutQuart:"cubic-bezier(.165,.84,.44,1)",easeInOutQuart:"cubic-bezier(.77,0,.175,1)",easeInQuint:"cubic-bezier(.755,.05,.855,.06)",easeOutQuint:"cubic-bezier(.23,1,.32,1)",easeInOutQuint:"cubic-bezier(.86,0,.07,1)",easeInSine:"cubic-bezier(.47,0,.745,.715)",easeOutSine:"cubic-bezier(.39,.575,.565,1)",easeInOutSine:"cubic-bezier(.445,.05,.55,.95)",easeInBack:"cubic-bezier(.6,-.28,.735,.045)",easeOutBack:"cubic-bezier(.175, .885,.32,1.275)",easeInOutBack:"cubic-bezier(.68,-.55,.265,1.55)"};t.cssHooks["transit:transform"]={get:function(e){return t(e).data("transform")||new f},set:function(e,i){var r=i;if(!(r instanceof f)){r=new f(r)}if(n.transform==="WebkitTransform"&&!s){e.style[n.transform]=r.toString(true)}else{e.style[n.transform]=r.toString()}t(e).data("transform",r)}};t.cssHooks.transform={set:t.cssHooks["transit:transform"].set};t.cssHooks.filter={get:function(t){return t.style[n.filter]},set:function(t,e){t.style[n.filter]=e}};if(t.fn.jquery<"1.8"){t.cssHooks.transformOrigin={get:function(t){return t.style[n.transformOrigin]},set:function(t,e){t.style[n.transformOrigin]=e}};t.cssHooks.transition={get:function(t){return t.style[n.transition]},set:function(t,e){t.style[n.transition]=e}}}p("scale");p("scaleX");p("scaleY");p("translate");p("rotate");p("rotateX");p("rotateY");p("rotate3d");p("perspective");p("skewX");p("skewY");p("x",true);p("y",true);function f(t){if(typeof t==="string"){this.parse(t)}return this}f.prototype={setFromString:function(t,e){var n=typeof e==="string"?e.split(","):e.constructor===Array?e:[e];n.unshift(t);f.prototype.set.apply(this,n)},set:function(t){var e=Array.prototype.slice.apply(arguments,[1]);if(this.setter[t]){this.setter[t].apply(this,e)}else{this[t]=e.join(",")}},get:function(t){if(this.getter[t]){return this.getter[t].apply(this)}else{return this[t]||0}},setter:{rotate:function(t){this.rotate=y(t,"deg")},rotateX:function(t){this.rotateX=y(t,"deg")},rotateY:function(t){this.rotateY=y(t,"deg")},scale:function(t,e){if(e===undefined){e=t}this.scale=t+","+e},skewX:function(t){this.skewX=y(t,"deg")},skewY:function(t){this.skewY=y(t,"deg")},perspective:function(t){this.perspective=y(t,"px")},x:function(t){this.set("translate",t,null)},y:function(t){this.set("translate",null,t)},translate:function(t,e){if(this._translateX===undefined){this._translateX=0}if(this._translateY===undefined){this._translateY=0}if(t!==null&&t!==undefined){this._translateX=y(t,"px")}if(e!==null&&e!==undefined){this._translateY=y(e,"px")}this.translate=this._translateX+","+this._translateY}},getter:{x:function(){return this._translateX||0},y:function(){return this._translateY||0},scale:function(){var t=(this.scale||"1,1").split(",");if(t[0]){t[0]=parseFloat(t[0])}if(t[1]){t[1]=parseFloat(t[1])}return t[0]===t[1]?t[0]:t},rotate3d:function(){var t=(this.rotate3d||"0,0,0,0deg").split(",");for(var e=0;e<=3;++e){if(t[e]){t[e]=parseFloat(t[e])}}if(t[3]){t[3]=y(t[3],"deg")}return t}},parse:function(t){var e=this;t.replace(/([a-zA-Z0-9]+)\((.*?)\)/g,function(t,n,i){e.setFromString(n,i)})},toString:function(t){var e=[];for(var i in this){if(this.hasOwnProperty(i)){if(!n.transform3d&&(i==="rotateX"||i==="rotateY"||i==="perspective"||i==="transformOrigin")){continue}if(i[0]!=="_"){if(t&&i==="scale"){e.push(i+"3d("+this[i]+",1)")}else if(t&&i==="translate"){e.push(i+"3d("+this[i]+",0)")}else{e.push(i+"("+this[i]+")")}}}}return e.join(" ")}};function c(t,e,n){if(e===true){t.queue(n)}else if(e){t.queue(e,n)}else{t.each(function(){n.call(this)})}}function l(e){var i=[];t.each(e,function(e){e=t.camelCase(e);e=t.transit.propertyMap[e]||t.cssProps[e]||e;e=h(e);if(n[e])e=h(n[e]);if(t.inArray(e,i)===-1){i.push(e)}});return i}function d(e,n,i,r){var s=l(e);if(t.cssEase[i]){i=t.cssEase[i]}var a=""+b(n)+" "+i;if(parseInt(r,10)>0){a+=" "+b(r)}var o=[];t.each(s,function(t,e){o.push(e+" "+a)});return o.join(", ")}t.fn.transition=t.fn.transit=function(e,i,r,s){var a=this;var u=0;var f=true;var l=jQuery.extend(true,{},e);if(typeof i==="function"){s=i;i=undefined}if(typeof i==="object"){r=i.easing;u=i.delay||0;f=typeof i.queue==="undefined"?true:i.queue;s=i.complete;i=i.duration}if(typeof r==="function"){s=r;r=undefined}if(typeof l.easing!=="undefined"){r=l.easing;delete l.easing}if(typeof l.duration!=="undefined"){i=l.duration;delete l.duration}if(typeof l.complete!=="undefined"){s=l.complete;delete l.complete}if(typeof l.queue!=="undefined"){f=l.queue;delete l.queue}if(typeof l.delay!=="undefined"){u=l.delay;delete l.delay}if(typeof i==="undefined"){i=t.fx.speeds._default}if(typeof r==="undefined"){r=t.cssEase._default}i=b(i);var p=d(l,i,r,u);var h=t.transit.enabled&&n.transition;var y=h?parseInt(i,10)+parseInt(u,10):0;if(y===0){var g=function(t){a.css(l);if(s){s.apply(a)}if(t){t()}};c(a,f,g);return a}var m={};var v=function(i){var r=false;var u=function(){if(r){a.unbind(o,u)}if(y>0){a.each(function(){this.style[n.transition]=m[this]||null})}if(typeof s==="function"){s.apply(a)}if(typeof i==="function"){i()}};if(y>0&&o&&t.transit.useTransitionEnd){r=true;a.bind(o,u)}else{window.setTimeout(u,y)}a.each(function(){if(y>0){this.style[n.transition]=p}t(this).css(e)})};var z=function(t){this.offsetWidth;v(t)};c(a,f,z);return this};function p(e,i){if(!i){t.cssNumber[e]=true}t.transit.propertyMap[e]=n.transform;t.cssHooks[e]={get:function(n){var i=t(n).css("transit:transform");return i.get(e)},set:function(n,i){var r=t(n).css("transit:transform");r.setFromString(e,i);t(n).css({"transit:transform":r})}}}function h(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}function y(t,e){if(typeof t==="string"&&!t.match(/^[\-0-9\.]+$/)){return t}else{return""+t+e}}function b(e){var n=e;if(typeof n==="string"&&!n.match(/^[\-0-9\.]+/)){n=t.fx.speeds[n]||t.fx.speeds._default}return y(n,"ms")}t.transit.getTransitionValue=d;return t});}catch(e){} try{(function(jQuery){if(!jQuery.isFunction(jQuery.fn.on)){jQuery.fn.on=function(types,sel,fn){return this.delegate(sel,types,fn);};jQuery.fn.off=function(types,sel,fn){return this.undelegate(sel,types,fn);};} if(!jQuery.support.transition) jQuery.fn.transition=jQuery.fn.animate;jQuery.fn.emodal=function(method){if(jQuery.fn.emodal.methods[method]){return jQuery.fn.emodal.methods[method].apply(this,Array.prototype.slice.call(arguments,1));}else if(typeof method==='object'||!method){return jQuery.fn.emodal.methods.init.apply(this,arguments);}else{jQuery.error('Method '+method+' does not exist on jQuery.fn.emodal');}};jQuery.fn.emodal.methods={init:function(options){return this.each(function(){var $this=jQuery(this);var settings=jQuery.extend(true,{},jQuery.fn.emodal.defaults,$this.data('emodal'),options);if(!$this.parent().is('body')) $this.appendTo('body');if(!jQuery('#'+settings.overlay.attr.id).length) jQuery('
').attr(settings.overlay.attr).appendTo('body');jQuery(window).on('resize',function(){if($this.hasClass('active')) jQuery.fn.emodal.utilities.throttle(setTimeout(function(){$this.emodal('reposition');},25),500,false);});$this.data('emodal',settings).on('emodalBeforeOpen.hide_modal',function(e){jQuery(this).css({visibility:"visible"}).hide().addClass(settings.container.active_class);if(!settings.meta.display.stackable){$this.emodal('close_all');}}).on('emodalAfterClose.close_overlay',function(e){$overlay=jQuery('#'+settings.overlay.attr.id);if($overlay.length&&$overlay.is(":visible")){$overlay.fadeOut(settings.close.close_speed);}}).on('emodalAfterClose.reset_videos',function(e){jQuery('iframe',$this).filter('[src*="youtube"],[src*="vimeo"]').each(function(){var src=jQuery(this).attr('src');jQuery(this).attr('src','').attr('src',src);});}).on('emodalBeforeOpen.setup_close',function(){$this.emodal('setup_close');}).on('emodalBeforeOpen.retheme',function(){$this.emodal('retheme');}).on('emodalBeforeOpen.reposition',function(){$this.emodal('reposition');}).trigger('emodalInit');return this;});},setup_close:function(){var $this=jQuery(this),settings=$this.data('emodal'),$overlay=jQuery('#'+settings.overlay.attr.id),$close=jQuery('.'+settings.close.attr.class,$this);$close.off('click.emodal').on("click.emodal",function(e){e.preventDefault();e.stopPropagation();$this.emodal('close');});if(settings.meta.close.esc_press) jQuery(window).off('keyup.emodal').on('keyup.emodal',function(e){if(e.keyCode==27) $this.emodal('close');});if(settings.meta.close.overlay_click) $overlay.off('click.emodal').on('click.emodal',function(e){e.preventDefault();e.stopPropagation();$this.emodal('close');});$this.on('emodalAfterClose',function(){jQuery(window).off('keyup.emodal');$overlay.off('click.emodal');$close.off('click.emodal');}).trigger('emodalSetupClose');},open:function(callback){var $this=jQuery(this);var settings=$this.data('emodal');$this.trigger('emodalBeforeOpen').emodal('animate',settings.meta.display.animation.type,function(){$this.trigger('emodalAfterOpen');if(callback!==undefined)callback();});return this;},close:function(){return this.each(function(){var $this=jQuery(this),settings=$this.data('emodal');$this.trigger('emodalBeforeClose').removeClass('active').fadeOut(settings.close.close_speed,function(){$this.trigger('emodalAfterClose');});return this;});},close_all:function(){var settings=jQuery(this).data('emodal');jQuery('.'+settings.container.attr.class).removeClass('active').hide(0);return this;},reposition:function(callback){var $this=jQuery(this);$this.trigger('emodalBeforeReposition');var settings=$this.data('emodal');var location=settings.meta.display.location;var position=settings.meta.display.position;var reposition={my:"",at:""};if(location.indexOf('left')>=0)reposition={my:reposition.my+" left"+(position.left!==0?"+"+position.left:""),at:reposition.at+" left"};if(location.indexOf('right')>=0)reposition={my:reposition.my+" right"+(position.right!==0?"-"+position.right:""),at:reposition.at+" right"};if(location.indexOf('center')>=0){if(location=='center')reposition={my:"center",at:"center"};else reposition={my:reposition.my+" center",at:reposition.at+" center"};} if(location.indexOf('top')>=0)reposition={my:reposition.my+" top"+(position.top!==0?"+"+position.top:""),at:reposition.at+" top"};if(location.indexOf('bottom')>=0)reposition={my:reposition.my+" bottom"+(position.bottom!==0?"-"+position.bottom:""),at:reposition.at+" bottom"};reposition.my=jQuery.trim(reposition.my);reposition.at=jQuery.trim(reposition.at);reposition.of=window;reposition.collision='fit';reposition.using=typeof(callback)=="function"?callback:jQuery.fn.emodal.callbacks.reposition_using;var opacity=false;if($this.is(':hidden')){opacity=$this.css("opacity");$this.css({opacity:0}).show();} if(position.fixed) $this.addClass('fixed');else $this.removeClass('fixed');if(settings.meta.display.size=='custom'){$this.css({width:settings.meta.display.custom_width+settings.meta.display.custom_width_unit,height:settings.meta.display.custom_height_auto?'auto':settings.meta.display.custom_height+settings.meta.display.custom_height_unit});} $this.addClass('custom-position').position(reposition).trigger('emodalAfterReposition');if(opacity){$this.css({opacity:opacity}).hide();} return this;},retheme:function(theme){var $this=jQuery(this);$this.trigger('emodalBeforeRetheme');var settings=$this.data('emodal'),$overlay=jQuery('#'+settings.overlay.attr.id),$container=$this,$title=jQuery('> .'+settings.title.attr.class,$container),$content=jQuery('> .'+settings.content.attr.class,$container),$close=jQuery('> .'+settings.close.attr.class,$container);if(theme===undefined){theme=jQuery.fn.emodal.themes[settings.theme_id];if(theme===undefined){theme=jQuery.fn.emodal.themes[1];}} $overlay.removeAttr('style').css({backgroundColor:jQuery.fn.emodal.utilities.convert_hex(theme.overlay.background.color,theme.overlay.background.opacity)});var container_inset=theme.container.boxshadow.inset=='yes'?'inset ':'';$container.css({padding:theme.container.padding+'px',backgroundColor:jQuery.fn.emodal.utilities.convert_hex(theme.container.background.color,theme.container.background.opacity),borderStyle:theme.container.border.style,borderColor:theme.container.border.color,borderWidth:theme.container.border.width+'px',borderRadius:theme.container.border.radius+'px',boxShadow:container_inset+theme.container.boxshadow.horizontal+'px '+theme.container.boxshadow.vertical+'px '+theme.container.boxshadow.blur+'px '+theme.container.boxshadow.spread+'px '+jQuery.fn.emodal.utilities.convert_hex(theme.container.boxshadow.color,theme.container.boxshadow.opacity)});$title.css({color:theme.title.font.color,fontSize:theme.title.font.size+'px',fontFamily:theme.title.font.family,textAlign:theme.title.text.align,textShadow:theme.title.textshadow.horizontal+'px '+theme.title.textshadow.vertical+'px '+theme.title.textshadow.blur+'px '+jQuery.fn.emodal.utilities.convert_hex(theme.title.textshadow.color,theme.title.textshadow.opacity)});$content.css({color:theme.content.font.color,fontFamily:theme.content.font.family});jQuery('p, label',$content).css({color:theme.content.font.color,fontFamily:theme.content.font.family});var close_inset=theme.close.boxshadow.inset=='yes'?'inset ':'';$close.html(theme.close.text).css({padding:theme.close.padding+'px',backgroundColor:jQuery.fn.emodal.utilities.convert_hex(theme.close.background.color,theme.close.background.opacity),color:theme.close.font.color,fontSize:theme.close.font.size+'px',fontFamily:theme.close.font.family,borderStyle:theme.close.border.style,borderColor:theme.close.border.color,borderWidth:theme.close.border.width+'px',borderRadius:theme.close.border.radius+'px',boxShadow:close_inset+theme.close.boxshadow.horizontal+'px '+theme.close.boxshadow.vertical+'px '+theme.close.boxshadow.blur+'px '+theme.close.boxshadow.spread+'px '+jQuery.fn.emodal.utilities.convert_hex(theme.close.boxshadow.color,theme.close.boxshadow.opacity),textShadow:theme.close.textshadow.horizontal+'px '+theme.close.textshadow.vertical+'px '+theme.close.textshadow.blur+'px '+jQuery.fn.emodal.utilities.convert_hex(theme.close.textshadow.color,theme.close.textshadow.opacity)});switch(theme.close.location){case"topleft":$close.css({top:theme.close.position.top+'px',left:theme.close.position.left+'px'});break;case"topright":$close.css({top:theme.close.position.top+'px',right:theme.close.position.right+'px'});break;case"bottomleft":$close.css({bottom:theme.close.position.bottom+'px',left:theme.close.position.left+'px'});break;case"bottomright":$close.css({bottom:theme.close.position.bottom+'px',right:theme.close.position.right+'px'});break;} $this.trigger('emodalAfterRetheme',[theme]);return this;},animate_overlay:function(style,duration,callback){var $this=jQuery(this);var settings=$this.data('emodal');if(settings.meta.display.overlay_disabled){callback();}else{if(jQuery.fn.emodal.overlay_animations[style]) return jQuery.fn.emodal.overlay_animations[style].apply(this,Array.prototype.slice.call(arguments,1));else jQuery.error('Animation style '+jQuery.fn.emodal.overlay_animations+' does not exist.');} return this;},animate:function(style,callback){if(jQuery.fn.emodal.animations[style]) return jQuery.fn.emodal.animations[style].apply(this,Array.prototype.slice.call(arguments,1));else jQuery.error('Animation style '+jQuery.fn.emodal.animations+' does not exist.');return this;}};jQuery.fn.emodal.callbacks={reposition_using:function(position){jQuery(this).css(position);}};jQuery.fn.emodal.utilities={convert_hex:function(hex,opacity){hex=hex.replace('#','');r=parseInt(hex.substring(0,2),16);g=parseInt(hex.substring(2,4),16);b=parseInt(hex.substring(4,6),16);result='rgba('+r+','+g+','+b+','+opacity/100+')';return result;},debounce:function(callback,threshold){var timeout;return function(){var context=this,params=arguments;window.clearTimeout(timeout);timeout=window.setTimeout(function(){callback.apply(context,params);},threshold);};},throttle:function(callback,threshold){var suppress=false;var clear=function(){suppress=false;};return function(){if(!suppress){callback.apply(this,arguments);window.setTimeout(clear,threshold);suppress=true;};}}};jQuery.fn.emodal.utilies=jQuery.fn.emodal.utilities;jQuery.fn.emodal.defaults={meta:{display:{stackable:0,overlay_disabled:0,size:'medium',custom_width:'',custom_width_unit:'%',custom_height:'',custom_height_unit:'em',custom_height_auto:1,location:'center top',position:{top:100,left:0,bottom:0,right:0,fixed:0},animation:{type:'fade',speed:350,origin:'center top'}},close:{overlay_click:0,esc_press:1}},container:{active_class:'active',attr:{class:"emodal"}},title:{attr:{class:"emodal-title"}},content:{attr:{class:"emodal-content"}},close:{close_speed:0,attr:{class:"emodal-close"}},overlay:{attr:{id:"emodal-overlay",class:"emodal-overlay"}}};jQuery.fn.emodal.themes=emodal_themes;jQuery.fn.emodal.overlay_animations={none:function(duration,callback){var $this=jQuery(this);var settings=$this.data('emodal');jQuery('#'+settings.overlay.attr.id).show(duration,callback);},fade:function(duration,callback){var $this=jQuery(this);var settings=$this.data('emodal');jQuery('#'+settings.overlay.attr.id).fadeIn(duration,callback);},slide:function(duration,callback){var $this=jQuery(this);var settings=$this.data('emodal');jQuery('#'+settings.overlay.attr.id).slideDown(duration,callback);}};jQuery.fn.emodal.animations={none:function(callback){var $this=jQuery(this);var settings=$this.data('emodal');$this.emodal('animate_overlay','none',0,function(){$this.show();if(callback!==undefined)callback();});return this;},slide:function(callback){var $this=jQuery(this).show(0).css({opacity:0});var settings=$this.data('emodal');var speed=settings.meta.display.animation.speed;var origin=settings.meta.display.animation.origin;var start={my:"",at:""};switch(origin){case'top':start={my:"left+"+$this.offset().left+" bottom",at:"left top"};break;case'bottom':start={my:"left+"+$this.offset().left+" top",at:"left bottom"};break;case'left':start={my:"right top+"+$this.offset().top,at:"left top"};break;case'right':start={my:"left top+"+$this.offset().top,at:"right top"};break;default:if(origin.indexOf('left')>=0)start={my:start.my+" right",at:start.at+" left"};if(origin.indexOf('right')>=0)start={my:start.my+" left",at:start.at+" right"};if(origin.indexOf('center')>=0)start={my:start.my+" center",at:start.at+" center"};if(origin.indexOf('top')>=0)start={my:start.my+" bottom",at:start.at+" top"};if(origin.indexOf('bottom')>=0)start={my:start.my+" top",at:start.at+" bottom"};start.my=jQuery.trim(start.my);start.at=jQuery.trim(start.at);break;} start.of=window;start.collision='none';jQuery('html').css('overflow-x','hidden');$this.position(start).css({opacity:1});$this.emodal('animate_overlay','fade',speed*0.25,function(){$this.emodal('reposition',function(position){position.opacity=1;$this.transition(position,speed*0.75,function(){jQuery('html').css('overflow-x','inherit');if(callback!==undefined)callback();});});});return this;},fade:function(callback){var $this=jQuery(this);var settings=$this.data('emodal');var speed=settings.meta.display.animation.speed/2;$this.emodal('animate_overlay','fade',speed,function(){$this.fadeIn(speed,function(){if(callback!==undefined)callback();});});return this;},fadeAndSlide:function(callback){var $this=jQuery(this).show(0).css({opacity:0});var settings=$this.data('emodal');var speed=settings.meta.display.animation.speed;var origin=settings.meta.display.animation.origin;var start={my:"",at:""};switch(origin){case'top':start={my:"left+"+$this.offset().left+" bottom",at:"left top"};break;case'bottom':start={my:"left+"+$this.offset().left+" top",at:"left bottom"};break;case'left':start={my:"right top+"+$this.offset().top,at:"left top"};break;case'right':start={my:"left top+"+$this.offset().top,at:"right top"};break;default:if(origin.indexOf('left')>=0)start={my:start.my+" right",at:start.at+" left"};if(origin.indexOf('right')>=0)start={my:start.my+" left",at:start.at+" right"};if(origin.indexOf('center')>=0)start={my:start.my+" center",at:start.at+" center"};if(origin.indexOf('top')>=0)start={my:start.my+" bottom",at:start.at+" top"};if(origin.indexOf('bottom')>=0)start={my:start.my+" top",at:start.at+" bottom"};start.my=jQuery.trim(start.my);start.at=jQuery.trim(start.at);break;} start.of=window;start.collision='none';jQuery('html').css('overflow-x','hidden');$this.position(start);$this.emodal('animate_overlay','fade',speed*0.25,function(){$this.emodal('reposition',function(position){position.opacity=1;$this.transition(position,speed*0.75,function(){jQuery('html').css('overflow-x','inherit');if(callback!==undefined)callback();});});});return this;},grow:function(callback){var $this=jQuery(this);var settings=$this.data('emodal');var speed=settings.meta.display.animation.speed;var origin=settings.meta.display.animation.origin;$this.css({transformOrigin:origin,opacity:0}).show();$this.emodal('animate_overlay','fade',speed*0.25,function(){$this.emodal('reposition',function(position){position.scale=1;position.duration=speed*0.75;$this.css({scale:0,opacity:1}).transition(position);if(callback!==undefined)callback();});});return this;},growAndSlide:function(callback){var $this=jQuery(this).css({opacity:0}).show();var settings=$this.data('emodal');var speed=settings.meta.display.animation.speed;var origin=settings.meta.display.animation.origin;var start={my:"",at:""};switch(origin){case'top':start={my:"left+"+$this.offset().left+" bottom",at:"left top"};break;case'bottom':start={my:"left+"+$this.offset().left+" top",at:"left bottom"};break;case'left':start={my:"right top+"+$this.offset().top,at:"left top"};break;case'right':start={my:"left top+"+$this.offset().top,at:"right top"};break;default:if(origin.indexOf('left')>=0)start={my:start.my+" right",at:start.at+" left"};if(origin.indexOf('right')>=0)start={my:start.my+" left",at:start.at+" right"};if(origin.indexOf('center')>=0)start={my:start.my+" center",at:start.at+" center"};if(origin.indexOf('top')>=0)start={my:start.my+" bottom",at:start.at+" top"};if(origin.indexOf('bottom')>=0)start={my:start.my+" top",at:start.at+" bottom"};start.my=jQuery.trim(start.my);start.at=jQuery.trim(start.at);break;} start.of=window;start.collision='none';jQuery('html').css('overflow-x','hidden');$this.position(start).css({opacity:origin=='center center'?0:1,transformOrigin:origin});$this.emodal('animate_overlay','fade',speed*0.25,function(){$this.emodal('reposition',function(position){position.scale=1;position.opacity=1;position.duration=speed*0.75;$this.css({scale:0}).transition(position,function(){jQuery('html').css('overflow-x','inherit');});if(callback!==undefined)callback();});});return this;}};jQuery('.emodal').css({visibility:"visible"}).hide();jQuery(document).ready(function(){jQuery('.emodal').emodal().each(function(){var $this=jQuery(this);jQuery(document).on('click','.'+$this.attr('id'),function(e){e.preventDefault();e.stopPropagation();$this.emodal('open');});jQuery('.'+$this.attr('id')).css('cursor','pointer');});});}(jQuery));}catch(e){} try{ !function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):e("undefined"!=typeof jQuery?jQuery:window.Zepto)}(function(e){"use strict";function t(t){var r=t.data;t.isDefaultPrevented()||(t.preventDefault(),e(t.target).ajaxSubmit(r))}function r(t){var r=t.target,a=e(r);if(!a.is("[type=submit],[type=image]")){var n=a.closest("[type=submit]");if(0===n.length)return;r=n[0]}var i=this;if(i.clk=r,"image"==r.type)if(void 0!==t.offsetX)i.clk_x=t.offsetX,i.clk_y=t.offsetY;else if("function"==typeof e.fn.offset){var o=a.offset();i.clk_x=t.pageX-o.left,i.clk_y=t.pageY-o.top}else i.clk_x=t.pageX-r.offsetLeft,i.clk_y=t.pageY-r.offsetTop;setTimeout(function(){i.clk=i.clk_x=i.clk_y=null},100)}function a(){if(e.fn.ajaxSubmit.debug){var t="[jquery.form] "+Array.prototype.join.call(arguments,"");window.console&&window.console.log?window.console.log(t):window.opera&&window.opera.postError&&window.opera.postError(t)}}var n={};n.fileapi=void 0!==e("").get(0).files,n.formdata=void 0!==window.FormData;var i=!!e.fn.prop;e.fn.attr2=function(){if(!i)return this.attr.apply(this,arguments);var e=this.prop.apply(this,arguments);return e&&e.jquery||"string"==typeof e?e:this.attr.apply(this,arguments)},e.fn.ajaxSubmit=function(t){function r(r){var a,n,i=e.param(r,t.traditional).split("&"),o=i.length,s=[];for(a=0;o>a;a++)i[a]=i[a].replace(/\+/g," "),n=i[a].split("="),s.push([decodeURIComponent(n[0]),decodeURIComponent(n[1])]);return s}function o(a){for(var n=new FormData,i=0;i').val(m.extraData[d].value).appendTo(w)[0]:e('').val(m.extraData[d]).appendTo(w)[0]);m.iframeTarget||v.appendTo("body"),g.attachEvent?g.attachEvent("onload",s):g.addEventListener("load",s,!1),setTimeout(t,15);try{w.submit()}catch(h){var x=document.createElement("form").submit;x.apply(w)}}finally{w.setAttribute("action",i),w.setAttribute("enctype",c),r?w.setAttribute("target",r):f.removeAttr("target"),e(l).remove()}}function s(t){if(!x.aborted&&!F){if(M=n(g),M||(a("cannot access response document"),t=k),t===D&&x)return x.abort("timeout"),void S.reject(x,"timeout");if(t==k&&x)return x.abort("server abort"),void S.reject(x,"error","server abort");if(M&&M.location.href!=m.iframeSrc||T){g.detachEvent?g.detachEvent("onload",s):g.removeEventListener("load",s,!1);var r,i="success";try{if(T)throw"timeout";var o="xml"==m.dataType||M.XMLDocument||e.isXMLDoc(M);if(a("isXml="+o),!o&&window.opera&&(null===M.body||!M.body.innerHTML)&&--O)return a("requeing onLoad callback, DOM not available"),void setTimeout(s,250);var u=M.body?M.body:M.documentElement;x.responseText=u?u.innerHTML:null,x.responseXML=M.XMLDocument?M.XMLDocument:M,o&&(m.dataType="xml"),x.getResponseHeader=function(e){var t={"content-type":m.dataType};return t[e.toLowerCase()]},u&&(x.status=Number(u.getAttribute("status"))||x.status,x.statusText=u.getAttribute("statusText")||x.statusText);var c=(m.dataType||"").toLowerCase(),l=/(json|script|text)/.test(c);if(l||m.textarea){var f=M.getElementsByTagName("textarea")[0];if(f)x.responseText=f.value,x.status=Number(f.getAttribute("status"))||x.status,x.statusText=f.getAttribute("statusText")||x.statusText;else if(l){var p=M.getElementsByTagName("pre")[0],h=M.getElementsByTagName("body")[0];p?x.responseText=p.textContent?p.textContent:p.innerText:h&&(x.responseText=h.textContent?h.textContent:h.innerText)}}else"xml"==c&&!x.responseXML&&x.responseText&&(x.responseXML=X(x.responseText));try{E=_(x,c,m)}catch(y){i="parsererror",x.error=r=y||i}}catch(y){a("error caught: ",y),i="error",x.error=r=y||i}x.aborted&&(a("upload aborted"),i=null),x.status&&(i=x.status>=200&&x.status<300||304===x.status?"success":"error"),"success"===i?(m.success&&m.success.call(m.context,E,"success",x),S.resolve(x.responseText,"success",x),d&&e.event.trigger("ajaxSuccess",[x,m])):i&&(void 0===r&&(r=x.statusText),m.error&&m.error.call(m.context,x,i,r),S.reject(x,"error",r),d&&e.event.trigger("ajaxError",[x,m,r])),d&&e.event.trigger("ajaxComplete",[x,m]),d&&!--e.active&&e.event.trigger("ajaxStop"),m.complete&&m.complete.call(m.context,x,i),F=!0,m.timeout&&clearTimeout(j),setTimeout(function(){m.iframeTarget?v.attr("src",m.iframeSrc):v.remove(),x.responseXML=null},100)}}}var c,l,m,d,p,v,g,x,y,b,T,j,w=f[0],S=e.Deferred();if(S.abort=function(e){x.abort(e)},r)for(l=0;l'),v.css({position:"absolute",top:"-1000px",left:"-1000px"})),g=v[0],x={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(t){var r="timeout"===t?"timeout":"aborted";a("aborting upload... "+r),this.aborted=1;try{g.contentWindow.document.execCommand&&g.contentWindow.document.execCommand ("Stop")}catch(n){}v.attr("src",m.iframeSrc),x.error=r,m.error&&m.error.call(m.context,x,r,t),d&&e.event.trigger("ajaxError",[x,m,r]),m.complete&&m.complete.call(m.context,x,r)}},d=m.global,d&&0===e.active++&&e.event.trigger("ajaxStart"),d&&e.event.trigger("ajaxSend",[x,m]),m.beforeSend&&m.beforeSend.call(m.context,x,m)===!1)return m.global&&e.active--,S.reject(),S;if(x.aborted)return S.reject(),S;y=w.clk,y&&(b=y.name,b&&!y.disabled&&(m.extraData=m.extraData||{},m.extraData[b]=y.value,"image"==y.type&&(m.extraData[b+".x"]=w.clk_x,m.extraData[b+".y"]=w.clk_y)));var D=1,k=2,A=e("meta[name=csrf-token]").attr("content"),L=e("meta[name=csrf-param]").attr("content");L&&A&&(m.extraData=m.extraData||{},m.extraData[L]=A),m.forceSync?o():setTimeout(o,10);var E,M,F,O=50,X=e.parseXML||function(e,t){return window.ActiveXObject?(t=new ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(e)):t=(new DOMParser).parseFromString(e,"text/xml"),t&&t.documentElement&&"parsererror"!=t.documentElement.nodeName?t:null},C=e.parseJSON||function(e){return window.eval("("+e+")")},_=function(t,r,a){var n=t.getResponseHeader("content-type")||"",i="xml"===r||!r&&n.indexOf("xml")>=0,o=i?t.responseXML:t.responseText;return i&&"parsererror"===o.documentElement.nodeName&&e.error&&e.error("parsererror"),a&&a.dataFilter&&(o=a.dataFilter(o,r)),"string"==typeof o&&("json"===r||!r&&n.indexOf("json")>=0?o=C(o):("script"===r||!r&&n.indexOf("javascript")>=0)&&e.globalEval(o)),o};return S}if(!this.length)return a("ajaxSubmit: skipping submit process - no element selected"),this;var u,c,l,f=this;"function"==typeof t?t={success:t}:void 0===t&&(t={}),u=t.type||this.attr2("method"),c=t.url||this.attr2("action"),l="string"==typeof c?e.trim(c):"",l=l||window.location.href||"",l&&(l=(l.match(/^([^#]+)/)||[])[1]),t=e.extend(!0,{url:l,success:e.ajaxSettings.success,type:u||e.ajaxSettings.type,iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},t);var m={};if(this.trigger("form-pre-serialize",[this,t,m]),m.veto)return a("ajaxSubmit: submit vetoed via form-pre-serialize trigger"),this;if(t.beforeSerialize&&t.beforeSerialize(this,t)===!1)return a("ajaxSubmit: submit aborted via beforeSerialize callback"),this;var d=t.traditional;void 0===d&&(d=e.ajaxSettings.traditional);var p,h=[],v=this.formToArray(t.semantic,h);if(t.data&&(t.extraData=t.data,p=e.param(t.data,d)),t.beforeSubmit&&t.beforeSubmit(v,this,t)===!1)return a("ajaxSubmit: submit aborted via beforeSubmit callback"),this;if(this.trigger("form-submit-validate",[v,this,t,m]),m.veto)return a("ajaxSubmit: submit vetoed via form-submit-validate trigger"),this;var g=e.param(v,d);p&&(g=g?g+"&"+p:p),"GET"==t.type.toUpperCase()?(t.url+=(t.url.indexOf("?")>=0?"&":"?")+g,t.data=null):t.data=g;var x=[];if(t.resetForm&&x.push(function(){f.resetForm()}),t.clearForm&&x.push(function(){f.clearForm(t.includeHidden)}),!t.dataType&&t.target){var y=t.success||function(){};x.push(function(r){var a=t.replaceTarget?"replaceWith":"html";e(t.target)[a](r).each(y,arguments)})}else t.success&&x.push(t.success);if(t.success=function(e,r,a){for(var n=t.context||this,i=0,o=x.length;o>i;i++)x[i].apply(n,[e,r,a||f,f])},t.error){var b=t.error;t.error=function(e,r,a){var n=t.context||this;b.apply(n,[e,r,a,f])}}if(t.complete){var T=t.complete;t.complete=function(e,r){var a=t.context||this;T.apply(a,[e,r,f])}}var j=e("input[type=file]:enabled",this).filter(function(){return""!==e(this).val()}),w=j.length>0,S="multipart/form-data",D=f.attr("enctype")==S||f.attr("encoding")==S,k=n.fileapi&&n.formdata;a("fileAPI :"+k);var A,L=(w||D)&&!k;t.iframe!==!1&&(t.iframe||L)?t.closeKeepAlive?e.get(t.closeKeepAlive,function(){A=s(v)}):A=s(v):A=(w||D)&&k?o(v):e.ajax(t),f.removeData("jqxhr").data("jqxhr",A);for(var E=0;Ec;c++)if(d=u[c],f=d.name,f&&!d.disabled)if(t&&o.clk&&"image"==d.type)o.clk==d&&(a.push({name:f,value:e(d).val(),type:d.type}),a.push({name:f+".x",value:o.clk_x},{name:f+".y",value:o.clk_y}));else if(m=e.fieldValue(d,!0),m&&m.constructor==Array)for(r&&r.push(d),l=0,h=m.length;h>l;l++)a.push({name:f,value:m[l]});else if(n.fileapi&&"file"==d.type){r&&r.push(d);var v=d.files;if(v.length)for(l=0;li;i++)r.push({name:a,value:n[i]});else null!==n&&"undefined"!=typeof n&&r.push({name:this.name,value:n})}}),e.param(r)},e.fn.fieldValue=function(t){for(var r=[],a=0,n=this.length;n>a;a++){var i=this[a],o=e.fieldValue(i,t);null===o||"undefined"==typeof o||o.constructor==Array&&!o.length||(o.constructor==Array?e.merge(r,o):r.push(o))}return r},e.fieldValue=function(t,r){var a=t.name,n=t.type,i=t.tagName.toLowerCase();if(void 0===r&&(r=!0),r&&(!a||t.disabled||"reset"==n||"button"==n||("checkbox"==n||"radio"==n)&&!t.checked||("submit"==n||"image"==n)&&t.form&&t.form.clk!=t||"select"==i&&-1==t.selectedIndex))return null;if("select"==i){var o=t.selectedIndex;if(0>o)return null;for(var s=[],u=t.options,c="select-one"==n,l=c?o+1:u.length,f=c?o:0;l>f;f++){var m=u[f];if(m.selected){var d=m.value;if(d||(d=m.attributes&&m.attributes.value&&!m.attributes.value.specified?m.text:m.value),c)return d;s.push(d)}}return s}return e(t).val()},e.fn.clearForm=function(t){return this.each(function(){e("input,select,textarea",this).clearFields(t)})},e.fn.clearFields=e.fn.clearInputs=function(t){var r=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var a=this.type,n=this.tagName.toLowerCase();r.test(a)||"textarea"==n?this.value="":"checkbox"==a||"radio"==a?this.checked=!1:"select"==n?this.selectedIndex=-1:"file"==a?/MSIE/.test(navigator.userAgent)?e(this).replaceWith(e(this).clone(!0)):e(this).val(""):t&&(t===!0&&/hidden/.test(a)||"string"==typeof t&&e(this).is(t))&&(this.value="")})},e.fn.resetForm=function(){return this.each(function(){("function"==typeof this.reset||"object"==typeof this.reset&&!this.reset.nodeType)&&this.reset()})},e.fn.enable=function(e){return void 0===e&&(e=!0),this.each(function(){this.disabled=!e})},e.fn.selected=function(t){return void 0===t&&(t=!0),this.each(function(){var r=this.type;if("checkbox"==r||"radio"==r)this.checked=t;else if("option"==this.tagName.toLowerCase()){var a=e(this).parent("select");t&&a[0]&&"select-one"==a[0].type&&a.find("option").selected(!1),this.selected=t}})},e.fn.ajaxSubmit.debug=!1});}catch(e){} try{(function($){'use strict';if(typeof _wpcf7==='undefined'||_wpcf7===null){return;} _wpcf7=$.extend({cached:0,inputs:[]},_wpcf7);$.fn.wpcf7InitForm=function(){this.ajaxForm({beforeSubmit:function(arr,$form,options){$form.wpcf7ClearResponseOutput();$form.find('[aria-invalid]').attr('aria-invalid','false');$form.find('.ajax-loader').addClass('is-active');return true;},beforeSerialize:function($form,options){$form.find('[placeholder].placeheld').each(function(i,n){$(n).val('');});return true;},data:{'_wpcf7_is_ajax_call':1},dataType:'json',success:$.wpcf7AjaxSuccess,error:function(xhr,status,error,$form){var e=$('
').text(error.message);$form.after(e);}});if(_wpcf7.cached){this.wpcf7OnloadRefill();} this.wpcf7ToggleSubmit();this.find('.wpcf7-submit').wpcf7AjaxLoader();this.find('.wpcf7-acceptance').click(function(){$(this).closest('form').wpcf7ToggleSubmit();});this.find('.wpcf7-exclusive-checkbox').wpcf7ExclusiveCheckbox();this.find('.wpcf7-list-item.has-free-text').wpcf7ToggleCheckboxFreetext();this.find('[placeholder]').wpcf7Placeholder();if(_wpcf7.jqueryUi&&!_wpcf7.supportHtml5.date){this.find('input.wpcf7-date[type="date"]').each(function(){$(this).datepicker({dateFormat:'yy-mm-dd',minDate:new Date($(this).attr('min')),maxDate:new Date($(this).attr('max'))});});} if(_wpcf7.jqueryUi&&!_wpcf7.supportHtml5.number){this.find('input.wpcf7-number[type="number"]').each(function(){$(this).spinner({min:$(this).attr('min'),max:$(this).attr('max'),step:$(this).attr('step')});});} this.find('.wpcf7-character-count').wpcf7CharacterCount();this.find('.wpcf7-validates-as-url').change(function(){$(this).wpcf7NormalizeUrl();});this.find('.wpcf7-recaptcha').wpcf7Recaptcha();};$.wpcf7AjaxSuccess=function(data,status,xhr,$form){if(!$.isPlainObject(data)||$.isEmptyObject(data)){return;} _wpcf7.inputs=$form.serializeArray();var $responseOutput=$form.find('div.wpcf7-response-output');$form.wpcf7ClearResponseOutput();$form.find('.wpcf7-form-control').removeClass('wpcf7-not-valid');$form.removeClass('invalid spam sent failed');if(data.captcha){$form.wpcf7RefillCaptcha(data.captcha);} if(data.quiz){$form.wpcf7RefillQuiz(data.quiz);} if(data.invalids){$.each(data.invalids,function(i,n){$form.find(n.into).wpcf7NotValidTip(n.message);$form.find(n.into).find('.wpcf7-form-control').addClass('wpcf7-not-valid');$form.find(n.into).find('[aria-invalid]').attr('aria-invalid','true');});$responseOutput.addClass('wpcf7-validation-errors');$form.addClass('invalid');$(data.into).wpcf7TriggerEvent('invalid');}else if(1==data.spam){$form.find('[name="g-recaptcha-response"]').each(function(){if(''==$(this).val()){var $recaptcha=$(this).closest('.wpcf7-form-control-wrap');$recaptcha.wpcf7NotValidTip(_wpcf7.recaptcha.messages.empty);}});$responseOutput.addClass('wpcf7-spam-blocked');$form.addClass('spam');$(data.into).wpcf7TriggerEvent('spam');}else if(1==data.mailSent){$responseOutput.addClass('wpcf7-mail-sent-ok');$form.addClass('sent');if(data.onSentOk){$.each(data.onSentOk,function(i,n){eval(n)});} $(data.into).wpcf7TriggerEvent('mailsent');}else{$responseOutput.addClass('wpcf7-mail-sent-ng');$form.addClass('failed');$(data.into).wpcf7TriggerEvent('mailfailed');} if(data.onSubmit){$.each(data.onSubmit,function(i,n){eval(n)});} $(data.into).wpcf7TriggerEvent('submit');if(1==data.mailSent){$form.resetForm();} $form.find('[placeholder].placeheld').each(function(i,n){$(n).val($(n).attr('placeholder'));});$responseOutput.append(data.message).slideDown('fast');$responseOutput.attr('role','alert');$.wpcf7UpdateScreenReaderResponse($form,data);};$.fn.wpcf7TriggerEvent=function(name){return this.each(function(){var elmId=this.id;var inputs=_wpcf7.inputs;var event=new CustomEvent('wpcf7'+name,{bubbles:true,detail:{id:elmId,inputs:inputs}});this.dispatchEvent(event);$(this).trigger('wpcf7:'+name);$(this).trigger(name+'.wpcf7');});};$.fn.wpcf7ExclusiveCheckbox=function(){return this.find('input:checkbox').click(function(){var name=$(this).attr('name');$(this).closest('form').find('input:checkbox[name="'+name+'"]').not(this).prop('checked',false);});};$.fn.wpcf7Placeholder=function(){if(_wpcf7.supportHtml5.placeholder){return this;} return this.each(function(){$(this).val($(this).attr('placeholder'));$(this).addClass('placeheld');$(this).focus(function(){if($(this).hasClass('placeheld')){$(this).val('').removeClass('placeheld');}});$(this).blur(function(){if(''===$(this).val()){$(this).val($(this).attr('placeholder'));$(this).addClass('placeheld');}});});};$.fn.wpcf7AjaxLoader=function(){return this.each(function(){$(this).after('');});};$.fn.wpcf7ToggleSubmit=function(){return this.each(function(){var form=$(this);if(this.tagName.toLowerCase()!='form'){form=$(this).find('form').first();} if(form.hasClass('wpcf7-acceptance-as-validation')){return;} var submit=form.find('input:submit');if(!submit.length){return;} var acceptances=form.find('input:checkbox.wpcf7-acceptance');if(!acceptances.length){return;} submit.removeAttr('disabled');acceptances.each(function(i,n){n=$(n);if(n.hasClass('wpcf7-invert')&&n.is(':checked')||!n.hasClass('wpcf7-invert')&&!n.is(':checked')){submit.attr('disabled','disabled');}});});};$.fn.wpcf7ToggleCheckboxFreetext=function(){return this.each(function(){var $wrap=$(this).closest('.wpcf7-form-control');if($(this).find(':checkbox, :radio').is(':checked')){$(this).find(':input.wpcf7-free-text').prop('disabled',false);}else{$(this).find(':input.wpcf7-free-text').prop('disabled',true);} $wrap.find(':checkbox, :radio').change(function(){var $cb=$('.has-free-text',$wrap).find(':checkbox, :radio');var $freetext=$(':input.wpcf7-free-text',$wrap);if($cb.is(':checked')){$freetext.prop('disabled',false).focus();}else{$freetext.prop('disabled',true);}});});};$.fn.wpcf7CharacterCount=function(){return this.each(function(){var $count=$(this);var name=$count.attr('data-target-name');var down=$count.hasClass('down');var starting=parseInt($count.attr('data-starting-value'),10);var maximum=parseInt($count.attr('data-maximum-value'),10);var minimum=parseInt($count.attr('data-minimum-value'),10);var updateCount=function($target){var length=$target.val().length;var count=down?starting-length:length;$count.attr('data-current-value',count);$count.text(count);if(maximum&&maximum'+message+'');if($into.is('.use-floating-validation-tip *')){$('.wpcf7-not-valid-tip',$into).mouseover(function(){$(this).wpcf7FadeOut();});$(':input',$into).focus(function(){$('.wpcf7-not-valid-tip',$into).not(':hidden').wpcf7FadeOut();});}});};$.fn.wpcf7FadeOut=function(){return this.each(function(){$(this).animate({opacity:0},'fast',function(){$(this).css({'z-index':-100});});});};$.fn.wpcf7OnloadRefill=function(){return this.each(function(){var url=$(this).attr('action');if(0');$.each(data.invalids,function(i,n){if(n.idref){var $li=$('
  • ').append($('').attr('href','#'+n.idref).append(n.message));}else{var $li=$('
  • ').append(n.message);} $invalids.append($li);});$response.append($invalids);} $response.attr('role','alert').focus();}};$.wpcf7SupportHtml5=function(){var features={};var input=document.createElement('input');features.placeholder='placeholder'in input;var inputTypes=['email','url','tel','number','range','date'];$.each(inputTypes,function(index,value){input.setAttribute('type',value);features[value]=input.type!=='text';});return features;};$(function(){_wpcf7.supportHtml5=$.wpcf7SupportHtml5();$('div.wpcf7 > form').wpcf7InitForm();});})(jQuery);(function(){if(typeof window.CustomEvent==="function")return false;function CustomEvent(event,params){params=params||{bubbles:false,cancelable:false,detail:undefined};var evt=document.createEvent('CustomEvent');evt.initCustomEvent(event,params.bubbles,params.cancelable,params.detail);return evt;} CustomEvent.prototype=window.Event.prototype;window.CustomEvent=CustomEvent;})();}catch(e){} try{!function(a){"undefined"==typeof a.fn.each2&&a.extend(a.fn,{each2:function(b){for(var c=a([0]),d=-1,e=this.length;++d=0&&c(a)})}function n(a){a[0]!==document.activeElement&&window.setTimeout(function(){var b,c=a[0],d=a.val().length;a.focus();var e=c.offsetWidth>0||c.offsetHeight>0;e&&c===document.activeElement&&(c.setSelectionRange?c.setSelectionRange(d,d):c.createTextRange&&(b=c.createTextRange(),b.collapse(!1),b.select()))},0)}function o(b){b=a(b)[0];var c=0,d=0;if("selectionStart"in b)c=b.selectionStart,d=b.selectionEnd-c;else if("selection"in document){b.focus();var e=document.selection.createRange();d=document.selection.createRange().text.length,e.moveStart("character",-b.value.length),c=e.text.length-d}return{offset:c,length:d}}function p(a){a.preventDefault(),a.stopPropagation()}function q(a){a.preventDefault(),a.stopImmediatePropagation()}function r(b){if(!I){var c=b[0].currentStyle||window.getComputedStyle(b[0],null);I=a(document.createElement("div")).css({position:"absolute",left:"-10000px",top:"-10000px",display:"none",fontSize:c.fontSize,fontFamily:c.fontFamily,fontStyle:c.fontStyle,fontWeight:c.fontWeight,letterSpacing:c.letterSpacing,textTransform:c.textTransform,whiteSpace:"nowrap"}),I.attr("class","select2-sizer"),a(document.body).append(I)}return I.text(b.val()),I.width()}function s(b,c,d){var e,f,g=[];e=a.trim(b.attr("class")),e&&(e=""+e,a(e.split(/\s+/)).each2(function(){0===this.indexOf("select2-")&&g.push(this)})),e=a.trim(c.attr("class")),e&&(e=""+e,a(e.split(/\s+/)).each2(function(){0!==this.indexOf("select2-")&&(f=d(this),f&&g.push(f))})),b.attr("class",g.join(" "))}function t(a,b,c,e){var f=d(a.toUpperCase()).indexOf(d(b.toUpperCase())),g=b.length;return f<0?void c.push(e(a)):(c.push(e(a.substring(0,f))),c.push(""),c.push(e(a.substring(f,f+g))),c.push(""),void c.push(e(a.substring(f+g,a.length))))}function u(a){var b={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return String(a).replace(/[&<>"'\/\\]/g,function(a){return b[a]})}function v(c){var d,e=null,f=c.quietMillis||100,g=c.url,h=this;return function(i){window.clearTimeout(d),d=window.setTimeout(function(){var d=c.data,f=g,j=c.transport||a.fn.select2.ajaxDefaults.transport,k={type:c.type||"GET",cache:c.cache||!1,jsonpCallback:c.jsonpCallback||b,dataType:c.dataType||"json"},l=a.extend({},a.fn.select2.ajaxDefaults.params,k);d=d?d.call(h,i.term,i.page,i.context):null,f="function"==typeof f?f.call(h,i.term,i.page,i.context):f,e&&"function"==typeof e.abort&&e.abort(),c.params&&(a.isFunction(c.params)?a.extend(l,c.params.call(h)):a.extend(l,c.params)),a.extend(l,{url:f,dataType:c.dataType,data:d,success:function(a){var b=c.results(a,i.page,i);i.callback(b)},error:function(a,b,c){var d={hasError:!0,jqXHR:a,textStatus:b,errorThrown:c};i.callback(d)}}),e=j.call(h,l)},f)}}function w(b){var c,d,e=b,f=function(a){return""+a.text};a.isArray(e)&&(d=e,e={results:d}),a.isFunction(e)===!1&&(d=e,e=function(){return d});var g=e();return g.text&&(f=g.text,a.isFunction(f)||(c=g.text,f=function(a){return a[c]})),function(b){var c,d=b.term,g={results:[]};return""===d?void b.callback(e()):(c=function(e,g){var h,i;if(e=e[0],e.children){h={};for(i in e)e.hasOwnProperty(i)&&(h[i]=e[i]);h.children=[],a(e.children).each2(function(a,b){c(b,h.children)}),(h.children.length||b.matcher(d,f(h),e))&&g.push(h)}else b.matcher(d,f(e),e)&&g.push(e)},a(e().results).each2(function(a,b){c(b,g.results)}),void b.callback(g))}}function x(c){var d=a.isFunction(c);return function(e){var f=e.term,g={results:[]},h=d?c(e):c;a.isArray(h)&&(a(h).each(function(){var a=this.text!==b,c=a?this.text:this;(""===f||e.matcher(f,c))&&g.results.push(a?this:{id:this,text:this})}),e.callback(g))}}function y(b,c){if(a.isFunction(b))return!0;if(!b)return!1;if("string"==typeof b)return!0;throw new Error(c+" must be a string, function, or falsy value")}function z(b,c){if(a.isFunction(b)){var d=Array.prototype.slice.call(arguments,2);return b.apply(c,d)}return b}function A(b){var c=0;return a.each(b,function(a,b){b.children?c+=A(b.children):c++}),c}function B(a,c,d,e){var f,h,i,j,k,l=a,m=!1;if(!e.createSearchChoice||!e.tokenSeparators||e.tokenSeparators.length<1)return b;for(;;){for(h=-1,i=0,j=e.tokenSeparators.length;i=0));i++);if(h<0)break;if(f=a.substring(0,h),a=a.substring(h+k.length),f.length>0&&(f=e.createSearchChoice.call(this,f,c),f!==b&&null!==f&&e.id(f)!==b&&null!==e.id(f))){for(m=!1,i=0,j=c.length;i=112&&a<=123}},N="
    ",O={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};J=a(document),H=function(){var a=1;return function(){return a++}}(),E=D(Object,{bind:function(a){var b=this;return function(){a.apply(b,arguments)}},init:function(c){var d,e,g=".select2-results";this.opts=c=this.prepareOpts(c),this.id=c.id,c.element.data("select2")!==b&&null!==c.element.data("select2")&&c.element.data("select2").destroy(),this.container=this.createContainer(),this.liveRegion=a(".select2-hidden-accessible"),0==this.liveRegion.length&&(this.liveRegion=a("",{role:"status","aria-live":"polite"}).addClass("select2-hidden-accessible").appendTo(document.body)),this.containerId="s2id_"+(c.element.attr("id")||"autogen"+H()),this.containerEventName=this.containerId.replace(/([.])/g,"_").replace(/([;&,\-\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1"),this.container.attr("id",this.containerId),this.container.attr("title",c.element.attr("title")),this.body=a(document.body),s(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.attr("style",c.element.attr("style")),this.container.css(z(c.containerCss,this.opts.element)),this.container.addClass(z(c.containerCssClass,this.opts.element)),this.elementTabIndex=this.opts.element.attr("tabindex"),this.opts.element.data("select2",this).attr("tabindex","-1").before(this.container).on("click.select2",p),this.container.data("select2",this),this.dropdown=this.container.find(".select2-drop"),s(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(z(c.dropdownCssClass,this.opts.element)),this.dropdown.data("select2",this),this.dropdown.on("click",p),this.results=d=this.container.find(g),this.search=e=this.container.find("input.select2-input"),this.queryCount=0,this.resultsPage=0,this.context=null,this.initContainer(),this.container.on("click",p),k(this.results),this.dropdown.on("mousemove-filtered",g,this.bind(this.highlightUnderEvent)),this.dropdown.on("touchstart touchmove touchend",g,this.bind(function(a){this._touchEvent=!0,this.highlightUnderEvent(a)})),this.dropdown.on("touchmove",g,this.bind(this.touchMoved)),this.dropdown.on("touchstart touchend",g,this.bind(this.clearTouchMoved)),this.dropdown.on("click",this.bind(function(a){this._touchEvent&&(this._touchEvent=!1,this.selectHighlighted())})),m(80,this.results),this.dropdown.on("scroll-debounced",g,this.bind(this.loadMoreIfNeeded)),a(this.container).on("change",".select2-input",function(a){a.stopPropagation()}),a(this.dropdown).on("change",".select2-input",function(a){a.stopPropagation()}),a.fn.mousewheel&&d.mousewheel(function(a,b,c,e){var f=d.scrollTop();e>0&&f-e<=0?(d.scrollTop(0),p(a)):e<0&&d.get(0).scrollHeight-d.scrollTop()+e<=d.height()&&(d.scrollTop(d.get(0).scrollHeight-d.height()),p(a))}),j(e),e.on("keyup-change input paste",this.bind(this.updateResults)),e.on("focus",function(){e.addClass("select2-focused")}),e.on("blur",function(){e.removeClass("select2-focused")}),this.dropdown.on("mouseup",g,this.bind(function(b){a(b.target).closest(".select2-result-selectable").length>0&&(this.highlightUnderEvent(b),this.selectHighlighted(b))})),this.dropdown.on("click mouseup mousedown touchstart touchend focusin",function(a){a.stopPropagation()}),this.lastSearchTerm=b,a.isFunction(this.opts.initSelection)&&(this.initSelection(),this.monitorSource()),null!==c.maximumInputLength&&this.search.attr("maxlength",c.maximumInputLength);var h=c.element.prop("disabled");h===b&&(h=!1),this.enable(!h);var i=c.element.prop("readonly");i===b&&(i=!1),this.readonly(i),K=K||f(),this.autofocus=c.element.prop("autofocus"),c.element.prop("autofocus",!1),this.autofocus&&this.focus(),this.search.attr("placeholder",c.searchInputPlaceholder)},destroy:function(){var a=this.opts.element,c=a.data("select2"),d=this;this.close(),a.length&&a[0].detachEvent&&d._sync&&a.each(function(){d._sync&&this.detachEvent("onpropertychange",d._sync)}),this.propertyObserver&&(this.propertyObserver.disconnect(),this.propertyObserver=null),this._sync=null,c!==b&&(c.container.remove(),c.liveRegion.remove(),c.dropdown.remove(),a.removeData("select2").off(".select2"),a.is("input[type='hidden']")?a.css("display",""):(a.show().prop("autofocus",this.autofocus||!1),this.elementTabIndex?a.attr({tabindex:this.elementTabIndex}):a.removeAttr("tabindex"),a.show())),C.call(this,"container","liveRegion","dropdown","results","search")},optionToData:function(a){return a.is("option")?{id:a.prop("value"),text:a.text(),element:a.get(),css:a.attr("class"),disabled:a.prop("disabled"),locked:g(a.attr("locked"),"locked")||g(a.data("locked"),!0)}:a.is("optgroup")?{text:a.attr("label"),children:[],element:a.get(),css:a.attr("class")}:void 0},prepareOpts:function(c){var d,e,f,i,j=this;if(d=c.element,"select"===d.get(0).tagName.toLowerCase()&&(this.select=e=c.element),e&&a.each(["id","multiple","ajax","query","createSearchChoice","initSelection","data","tags"],function(){if(this in c)throw new Error("Option '"+this+"' is not allowed for Select2 when attached to a ","
    "," ","
      ","
    ","
    "].join(""));return b},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.focusser.prop("disabled",!this.isInterfaceEnabled())},opening:function(){var b,c,d;this.opts.minimumResultsForSearch>=0&&this.showSearch(!0),this.parent.opening.apply(this,arguments),this.showSearchInput!==!1&&this.search.val(this.focusser.val()),this.opts.shouldFocusInput(this)&&(this.search.focus(),b=this.search.get(0),b.createTextRange?(c=b.createTextRange(),c.collapse(!1),c.select()):b.setSelectionRange&&(d=this.search.val().length,b.setSelectionRange(d,d))),this.prefillNextSearchTerm(),this.focusser.prop("disabled",!0).val(""),this.updateResults(!0),this.opts.element.trigger(a.Event("select2-open"))},close:function(){this.opened()&&(this.parent.close.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},focus:function(){this.opened()?this.close():(this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},isFocused:function(){return this.container.hasClass("select2-container-active")},cancel:function(){this.parent.cancel.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus()},destroy:function(){a("label[for='"+this.focusser.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),C.call(this,"selection","focusser")},initContainer:function(){var b,d,e=this.container,f=this.dropdown,g=H();this.opts.minimumResultsForSearch<0?this.showSearch(!1):this.showSearch(!0),this.selection=b=e.find(".select2-choice"),this.focusser=e.find(".select2-focusser"),b.find(".select2-chosen").attr("id","select2-chosen-"+g),this.focusser.attr("aria-labelledby","select2-chosen-"+g),this.results.attr("id","select2-results-"+g),this.search.attr("aria-owns","select2-results-"+g),this.focusser.attr("id","s2id_autogen"+g),d=a("label[for='"+this.opts.element.attr("id")+"']"),this.opts.element.on("focus.select2",this.bind(function(){this.focus()})),this.focusser.prev().text(d.text()).attr("for",this.focusser.attr("id"));var h=this.opts.element.attr("title");this.opts.element.attr("title",h||d.text()),this.focusser.attr("tabindex",this.elementTabIndex),this.search.attr("id",this.focusser.attr("id")+"_search"),this.search.prev().text(a("label[for='"+this.focusser.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.search.on("keydown",this.bind(function(a){if(this.isInterfaceEnabled()&&229!=a.keyCode){if(a.which===M.PAGE_UP||a.which===M.PAGE_DOWN)return void p(a);switch(a.which){case M.UP:case M.DOWN:return this.moveHighlight(a.which===M.UP?-1:1),void p(a);case M.ENTER:return this.selectHighlighted(),void p(a);case M.TAB:return void this.selectHighlighted({noFocus:!0});case M.ESC:return this.cancel(a),void p(a)}}})),this.search.on("blur",this.bind(function(a){document.activeElement===this.body.get(0)&&window.setTimeout(this.bind(function(){this.opened()&&this.results&&this.results.length>1&&this.search.focus()}),0)})),this.focusser.on("keydown",this.bind(function(a){if(this.isInterfaceEnabled()&&a.which!==M.TAB&&!M.isControl(a)&&!M.isFunctionKey(a)&&a.which!==M.ESC){if(this.opts.openOnEnter===!1&&a.which===M.ENTER)return void p(a);if(a.which==M.DOWN||a.which==M.UP||a.which==M.ENTER&&this.opts.openOnEnter){if(a.altKey||a.ctrlKey||a.shiftKey||a.metaKey)return;return this.open(),void p(a)}return a.which==M.DELETE||a.which==M.BACKSPACE?(this.opts.allowClear&&this.clear(),void p(a)):void 0}})),j(this.focusser),this.focusser.on("keyup-change input",this.bind(function(a){if(this.opts.minimumResultsForSearch>=0){if(a.stopPropagation(),this.opened())return;this.open()}})),b.on("mousedown touchstart","abbr",this.bind(function(a){this.isInterfaceEnabled()&&(this.clear(),q(a),this.close(),this.selection&&this.selection.focus())})),this.supportsTouchEvents?b.on("mousedown touchstart",this.bind(function(d){c(b),this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.opened()?this.close():this.isInterfaceEnabled()&&this.open(),p(d)})):b.on("mousedown",this.bind(function(d){c(b),this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.opened()?this.close():this.isInterfaceEnabled()&&this.open(),p(d)})),f.on("mousedown touchstart",this.bind(function(){this.opts.shouldFocusInput(this)&&this.search.focus()})),b.on("focus",this.bind(function(a){p(a)})),this.focusser.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active")})).on("blur",this.bind(function(){this.opened()||(this.container.removeClass("select2-container-active"),this.opts.element.trigger(a.Event("select2-blur")))})),this.search.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active")})),this.initContainerWidth(),this.opts.element.hide(),this.setPlaceholder()},clear:function(b){var c=this.selection.data("select2-data");if(c){var d=a.Event("select2-clearing");if(this.opts.element.trigger(d),d.isDefaultPrevented())return;var e=this.getPlaceholderOption();this.opts.element.val(e?e.val():""),this.selection.find(".select2-chosen").empty(),this.selection.removeData("select2-data"),this.setPlaceholder(),b!==!1&&(this.opts.element.trigger({type:"select2-removed",val:this.id(c),choice:c}),this.triggerChange({removed:c}))}},initSelection:function(){if(this.isPlaceholderOptionSelected())this.updateSelection(null),this.close(),this.setPlaceholder();else{var a=this;this.opts.initSelection.call(null,this.opts.element,function(c){c!==b&&null!==c&&(a.updateSelection(c),a.close(),a.setPlaceholder(),a.lastSearchTerm=a.search.val())})}},isPlaceholderOptionSelected:function(){var a;return this.getPlaceholder()!==b&&((a=this.getPlaceholderOption())!==b&&a.prop("selected")||""===this.opts.element.val()||this.opts.element.val()===b||null===this.opts.element.val())},prepareOpts:function(){var b=this.parent.prepareOpts.apply(this,arguments),c=this;return"select"===b.element.get(0).tagName.toLowerCase()?b.initSelection=function(a,b){var d=a.find("option").filter(function(){return this.selected&&!this.disabled});b(c.optionToData(d))}:"data"in b&&(b.initSelection=b.initSelection||function(c,d){var e=c.val(),f=null;b.query({matcher:function(a,c,d){var h=g(e,b.id(d));return h&&(f=d),h},callback:a.isFunction(d)?function(){d(f)}:a.noop})}),b},getPlaceholder:function(){return this.select&&this.getPlaceholderOption()===b?b:this.parent.getPlaceholder.apply(this,arguments)},setPlaceholder:function(){var a=this.getPlaceholder();if(this.isPlaceholderOptionSelected()&&a!==b){if(this.select&&this.getPlaceholderOption()===b)return;this.selection.find(".select2-chosen").html(this.opts.escapeMarkup(a)),this.selection.addClass("select2-default"),this.container.removeClass("select2-allowclear")}},postprocessResults:function(a,b,c){var d=0,e=this;if(this.findHighlightableChoices().each2(function(a,b){if(g(e.id(b.data("select2-data")),e.opts.element.val()))return d=a,!1}),c!==!1&&(b===!0&&d>=0?this.highlight(d):this.highlight(0)),b===!0){var f=this.opts.minimumResultsForSearch;f>=0&&this.showSearch(A(a.results)>=f)}},showSearch:function(b){this.showSearchInput!==b&&(this.showSearchInput=b,this.dropdown.find(".select2-search").toggleClass("select2-search-hidden",!b),this.dropdown.find(".select2-search").toggleClass("select2-offscreen",!b),a(this.dropdown,this.container).toggleClass("select2-with-searchbox",b))},onSelect:function(a,b){if(this.triggerSelect(a)){var c=this.opts.element.val(),d=this.data();this.opts.element.val(this.id(a)),this.updateSelection(a),this.opts.element.trigger({type:"select2-selected",val:this.id(a),choice:a}),this.lastSearchTerm=this.search.val(),this.close(),b&&b.noFocus||!this.opts.shouldFocusInput(this)||this.focusser.focus(),g(c,this.id(a))||this.triggerChange({added:a,removed:d})}},updateSelection:function(a){var c,d,e=this.selection.find(".select2-chosen");this.selection.data("select2-data",a),e.empty(),null!==a&&(c=this.opts.formatSelection(a,e,this.opts.escapeMarkup)),c!==b&&e.append(c),d=this.opts.formatSelectionCssClass(a,e),d!==b&&e.addClass(d),this.selection.removeClass("select2-default"),this.opts.allowClear&&this.getPlaceholder()!==b&&this.container.addClass("select2-allowclear")},val:function(){var a,c=!1,d=null,e=this,f=this.data();if(0===arguments.length)return this.opts.element.val();if(a=arguments[0],arguments.length>1&&(c=arguments[1],this.opts.debug&&console&&console.warn&&console.warn('Select2: The second option to `select2("val")` is not supported in Select2 4.0.0. The `change` event will always be triggered in 4.0.0.')),this.select)this.opts.debug&&console&&console.warn&&console.warn('Select2: Setting the value on a "," ","","
    ","
      ","
    ","
    "].join(""));return b},prepareOpts:function(){var b=this.parent.prepareOpts.apply(this,arguments),c=this;return"select"===b.element.get(0).tagName.toLowerCase()?b.initSelection=function(a,b){var d=[];a.find("option").filter(function(){return this.selected&&!this.disabled}).each2(function(a,b){d.push(c.optionToData(b))}),b(d)}:"data"in b&&(b.initSelection=b.initSelection||function(c,d){var e=h(c.val(),b.separator,b.transformVal),f=[];b.query({matcher:function(c,d,h){var i=a.grep(e,function(a){return g(a,b.id(h))}).length;return i&&f.push(h),i},callback:a.isFunction(d)?function(){for(var a=[],c=0;c0||(this.selectChoice(null),this.clearPlaceholder(),this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.open(),this.focusSearch(),b.preventDefault()))})),this.container.on("focus",c,this.bind(function(){this.isInterfaceEnabled()&&(this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"),this.clearPlaceholder())})),this.initContainerWidth(),this.opts.element.hide(),this.clearSearch()},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.search.prop("disabled",!this.isInterfaceEnabled())},initSelection:function(){if(""===this.opts.element.val()&&""===this.opts.element.text()&&(this.updateSelection([]),this.close(),this.clearSearch()),this.select||""!==this.opts.element.val()){var a=this;this.opts.initSelection.call(null,this.opts.element,function(c){c!==b&&null!==c&&(a.updateSelection(c),a.close(),a.clearSearch())})}},clearSearch:function(){var a=this.getPlaceholder(),c=this.getMaxSearchWidth();a!==b&&0===this.getVal().length&&this.search.hasClass("select2-focused")===!1?(this.search.val(a).addClass("select2-default"),this.search.width(c>0?c:this.container.css("width"))):this.search.val("").width(10)},clearPlaceholder:function(){this.search.hasClass("select2-default")&&this.search.val("").removeClass("select2-default")},opening:function(){this.clearPlaceholder(),this.resizeSearch(),this.parent.opening.apply(this,arguments),this.focusSearch(),this.prefillNextSearchTerm(),this.updateResults(!0),this.opts.shouldFocusInput(this)&&this.search.focus(),this.opts.element.trigger(a.Event("select2-open"))},close:function(){this.opened()&&this.parent.close.apply(this,arguments)},focus:function(){this.close(),this.search.focus()},isFocused:function(){return this.search.hasClass("select2-focused")},updateSelection:function(b){var c={},d=[],e=this;a(b).each(function(){e.id(this)in c||(c[e.id(this)]=0,d.push(this))}),this.selection.find(".select2-search-choice").remove(),this.addSelectedChoice(d),e.postprocessResults()},tokenize:function(){var a=this.search.val();a=this.opts.tokenizer.call(this,a,this.data(),this.bind(this.onSelect),this.opts),null!=a&&a!=b&&(this.search.val(a),a.length>0&&this.open())},onSelect:function(a,b){this.triggerSelect(a)&&""!==a.text&&(this.addSelectedChoice(a),this.opts.element.trigger({type:"selected",val:this.id(a),choice:a}),this.lastSearchTerm=this.search.val(),this.clearSearch(),this.updateResults(),!this.select&&this.opts.closeOnSelect||this.postprocessResults(a,!1,this.opts.closeOnSelect===!0),this.opts.closeOnSelect?(this.close(),this.search.width(10)):this.countSelectableResults()>0?(this.search.width(10),this.resizeSearch(),this.getMaximumSelectionSize()>0&&this.val().length>=this.getMaximumSelectionSize()?this.updateResults(!0):this.prefillNextSearchTerm()&&this.updateResults(),this.positionDropdown()):(this.close(),this.search.width(10)),this.triggerChange({added:a}),b&&b.noFocus||this.focusSearch())},cancel:function(){this.close(),this.focusSearch()},addSelectedChoice:function(b){var c=this.getVal(),d=this;a(b).each(function(){c.push(d.createChoice(this))}),this.setVal(c)},createChoice:function(c){var d,e,f=!c.locked,g=a("
  • "),h=a("
  • "),i=f?g:h,j=this.id(c);return d=this.opts.formatSelection(c,i.find("div"),this.opts.escapeMarkup),d!=b&&i.find("div").replaceWith(a("
    ").html(d)),e=this.opts.formatSelectionCssClass(c,i.find("div")),e!=b&&i.addClass(e),f&&i.find(".select2-search-choice-close").on("mousedown",p).on("click dblclick",this.bind(function(b){this.isInterfaceEnabled()&&(this.unselect(a(b.target)),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus"),p(b),this.close(),this.focusSearch())})).on("focus",this.bind(function(){this.isInterfaceEnabled()&&(this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"))})),i.data("select2-data",c),i.insertBefore(this.searchContainer),j},unselect:function(b){var c,d,f=this.getVal();if(b=b.closest(".select2-search-choice"),0===b.length)throw"Invalid argument: "+b+". Must be .select2-search-choice";if(c=b.data("select2-data")){var g=a.Event("select2-removing");if(g.val=this.id(c),g.choice=c,this.opts.element.trigger(g),g.isDefaultPrevented())return!1;for(;(d=e(this.id(c),f))>=0;)f.splice(d,1),this.setVal(f),this.select&&this.postprocessResults();return b.remove(),this.opts.element.trigger({type:"select2-removed",val:this.id(c),choice:c}),this.triggerChange({removed:c}),!0}},postprocessResults:function(a,b,c){var d=this.getVal(),f=this.results.find(".select2-result"),g=this.results.find(".select2-result-with-children"),h=this;f.each2(function(a,b){var c=h.id(b.data("select2-data"));e(c,d)>=0&&(b.addClass("select2-selected"),b.find(".select2-result-selectable").addClass("select2-selected"))}),g.each2(function(a,b){b.is(".select2-result-selectable")||0!==b.find(".select2-result-selectable:not(.select2-selected)").length||b.addClass("select2-selected")}),this.highlight()==-1&&c!==!1&&this.opts.closeOnSelect===!0&&h.highlight(0),!this.opts.createSearchChoice&&!f.filter(".select2-result:not(.select2-selected)").length>0&&(!a||a&&!a.more&&0===this.results.find(".select2-no-results").length)&&y(h.opts.formatNoMatches,"formatNoMatches")&&this.results.append("
  • "+z(h.opts.formatNoMatches,h.opts.element,h.search.val())+"
  • ")},getMaxSearchWidth:function(){return this.selection.width()-i(this.search)},resizeSearch:function(){var a,b,c,d,e,f=i(this.search);a=r(this.search)+10,b=this.search.offset().left,c=this.selection.width(),d=this.selection.offset().left,e=c-(b-d)-f,e. Attach to instead.");this.search.width(0),this.searchContainer.hide()},onSortEnd:function(){var b=[],c=this;this.searchContainer.show(),this.searchContainer.appendTo(this.searchContainer.parent()),this.resizeSearch(),this.selection.find(".select2-search-choice").each(function(){b.push(c.opts.id(a(this).data("select2-data")))}),this.setVal(b),this.triggerChange()},data:function(b,c){var d,e,f=this;return 0===arguments.length?this.selection.children(".select2-search-choice").map(function(){return a(this).data("select2-data")}).get():(e=this.data(),b||(b=[]),d=a.map(b,function(a){return f.opts.id(a)}),this.setVal(d),this.updateSelection(b),this.clearSearch(),c&&this.triggerChange(this.buildChangeDetails(e,this.data())),void 0)}}),a.fn.select2=function(){var c,d,f,g,h,i=Array.prototype.slice.call(arguments,0),j=["val","destroy","opened","open","close","focus","isFocused","container","dropdown","onSortStart","onSortEnd","enable","disable","readonly","positionDropdown","data","search"],k=["opened","isFocused","container","dropdown"],l=["val","data"],m={search:"externalSearch"};return this.each(function(){if(0===i.length||"object"==typeof i[0])c=0===i.length?{}:a.extend({},i[0]),c.element=a(this),"select"===c.element.get(0).tagName.toLowerCase()?h=c.element.prop("multiple"):(h=c.multiple||!1,"tags"in c&&(c.multiple=h=!0)),d=h?new window.Select2.class.multi:new window.Select2.class.single,d.init(c);else{if("string"!=typeof i[0])throw"Invalid arguments to select2 plugin: "+i;if(e(i[0],j)<0)throw"Unknown method: "+i[0];if(g=b,d=a(this).data("select2"),d===b)return;if(f=i[0],"container"===f?g=d.container:"dropdown"===f?g=d.dropdown:(m[f]&&(f=m[f]),g=d[f].apply(d,i.slice(1))),e(i[0],k)>=0||e(i[0],l)>=0&&1==i.length)return!1}}),g===b?this:g},a.fn.select2.defaults={debug:!1,width:"copy",loadMorePadding:0,closeOnSelect:!0,openOnEnter:!0,containerCss:{},dropdownCss:{},containerCssClass:"",dropdownCssClass:"",formatResult:function(a,b,c,d){var e=[];return t(this.text(a),c.term,e,d),e.join("")},transformVal:function(b){return a.trim(b)},formatSelection:function(a,c,d){return a?d(this.text(a)):b},sortResults:function(a,b,c){return a},formatResultCssClass:function(a){return a.css},formatSelectionCssClass:function(a,c){return b},minimumResultsForSearch:0,minimumInputLength:0,maximumInputLength:null,maximumSelectionSize:0,id:function(a){return a==b?null:a.id},text:function(b){return b&&this.data&&this.data.text?a.isFunction(this.data.text)?this.data.text(b):b[this.data.text]:b.text},matcher:function(a,b){return d(""+b).toUpperCase().indexOf(d(""+a).toUpperCase())>=0},separator:",",tokenSeparators:[],tokenizer:B,escapeMarkup:u,blurOnChange:!1,selectOnBlur:!1,adaptContainerCssClass:function(a){return a},adaptDropdownCssClass:function(a){return null},nextSearchTerm:function(a,c){return b},searchInputPlaceholder:"",createSearchChoicePosition:"top",shouldFocusInput:function(a){ var b="ontouchstart"in window||navigator.msMaxTouchPoints>0;return!b||!(a.opts.minimumResultsForSearch<0)}},a.fn.select2.locales=[],a.fn.select2.locales.en={formatMatches:function(a){return 1===a?"One result is available, press enter to select it.":a+" results are available, use up and down arrow keys to navigate."},formatNoMatches:function(){return"No matches found"},formatAjaxError:function(a,b,c){return"Loading failed"},formatInputTooShort:function(a,b){var c=b-a.length;return"Please enter "+c+" or more character"+(1==c?"":"s")},formatInputTooLong:function(a,b){var c=a.length-b;return"Please delete "+c+" character"+(1==c?"":"s")},formatSelectionTooBig:function(a){return"You can only select "+a+" item"+(1==a?"":"s")},formatLoadMore:function(a){return"Loading more results…"},formatSearching:function(){return"Searching…"}},a.extend(a.fn.select2.defaults,a.fn.select2.locales.en),a.fn.select2.ajaxDefaults={transport:a.ajax,params:{type:"GET",cache:!1,dataType:"json"}},window.Select2={query:{ajax:v,local:w,tags:x},util:{debounce:l,markMatch:t,escapeMarkup:u,stripDiacritics:d},class:{abstract:E,single:F,multi:G}}}}(jQuery);}catch(e){} try{window.wp=window.wp||{};var passwordStrength;!function(a){wp.passwordStrength={meter:function(b,c,d){if(a.isArray(c)||(c=[c.toString()]),b!=d&&d&&d.length>0)return 5;if("undefined"==typeof window.zxcvbn)return-1;var e=zxcvbn(b,c);return e.score},userInputBlacklist:function(){var b,c,d,e,f=[],g=[],h=["user_login","first_name","last_name","nickname","display_name","email","url","description","weblog_title","admin_email"];for(f.push(document.title),f.push(document.URL),c=h.length,b=0;bb.length)&&a.inArray(b,g)===c})}},passwordStrength=wp.passwordStrength.meter}(jQuery);}catch(e){} try{jQuery(function(a){var b={init:function(){a(document.body).on("keyup change","form.register #reg_password, form.checkout #account_password, form.edit-account #password_1, form.lost_reset_password #password_1",this.strengthMeter),a("form.checkout #createaccount").change()},strengthMeter:function(){var c=a("form.register, form.checkout, form.edit-account, form.lost_reset_password"),d=a('input[type="submit"]',c),e=a("#reg_password, #account_password, #password_1",c),f=1;b.includeMeter(c,e),f=b.checkPasswordStrength(c,e),f
    '),a(document.body).trigger("wc-password-strength-added"))},checkPasswordStrength:function(a,b){var c=a.find(".woocommerce-password-strength"),d=a.find(".woocommerce-password-hint"),e=''+wc_password_strength_meter_params.i18n_password_hint+"",f=wp.passwordStrength.meter(b.val(),wp.passwordStrength.userInputBlacklist()),g="";switch(c.removeClass("short bad good strong"),d.remove(),f